realtimeLogStream

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetLog

func (x *Response) GetLog() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL