Documentation ¶
Index ¶
- Variables
- func RegisterLogStreamerServiceServer(s *grpc.Server, srv LogStreamerServiceServer)
- type LogStreamerServiceClient
- type LogStreamerServiceServer
- type LogStreamerService_StreamLogClient
- type LogStreamerService_StreamLogServer
- type Response
- type Subscription
- type UnimplementedLogStreamerServiceServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_api_proto_realtimeLogStream_proto protoreflect.FileDescriptor
Functions ¶
func RegisterLogStreamerServiceServer ¶
func RegisterLogStreamerServiceServer(s *grpc.Server, srv LogStreamerServiceServer)
Types ¶
type LogStreamerServiceClient ¶
type LogStreamerServiceClient interface {
StreamLog(ctx context.Context, in *Subscription, opts ...grpc.CallOption) (LogStreamerService_StreamLogClient, error)
}
LogStreamerServiceClient is the client API for LogStreamerService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewLogStreamerServiceClient ¶
func NewLogStreamerServiceClient(cc grpc.ClientConnInterface) LogStreamerServiceClient
type LogStreamerServiceServer ¶
type LogStreamerServiceServer interface {
StreamLog(*Subscription, LogStreamerService_StreamLogServer) error
}
LogStreamerServiceServer is the server API for LogStreamerService service.
type LogStreamerService_StreamLogClient ¶
type LogStreamerService_StreamLogClient interface { Recv() (*Response, error) grpc.ClientStream }
type LogStreamerService_StreamLogServer ¶
type LogStreamerService_StreamLogServer interface { Send(*Response) error grpc.ServerStream }
type Response ¶
type Response struct { Log string `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type Subscription ¶
type Subscription struct { Applications []string `protobuf:"bytes,1,rep,name=applications,proto3" json:"applications,omitempty"` // contains filtered or unexported fields }
func (*Subscription) Descriptor
deprecated
func (*Subscription) Descriptor() ([]byte, []int)
Deprecated: Use Subscription.ProtoReflect.Descriptor instead.
func (*Subscription) GetApplications ¶
func (x *Subscription) GetApplications() []string
func (*Subscription) ProtoMessage ¶
func (*Subscription) ProtoMessage()
func (*Subscription) ProtoReflect ¶
func (x *Subscription) ProtoReflect() protoreflect.Message
func (*Subscription) Reset ¶
func (x *Subscription) Reset()
func (*Subscription) String ¶
func (x *Subscription) String() string
type UnimplementedLogStreamerServiceServer ¶
type UnimplementedLogStreamerServiceServer struct { }
UnimplementedLogStreamerServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedLogStreamerServiceServer) StreamLog ¶
func (*UnimplementedLogStreamerServiceServer) StreamLog(*Subscription, LogStreamerService_StreamLogServer) error
Click to show internal directories.
Click to hide internal directories.