Documentation ¶
Overview ¶
Package proto is a generated protocol buffer package.
It is generated from these files:
stream.proto
It has these top-level messages:
Request EventType Payload
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterStreamServiceServer ¶
func RegisterStreamServiceServer(s *grpc.Server, srv StreamServiceServer)
Types ¶
type EventType ¶
type EventType struct {
Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
}
func (*EventType) Descriptor ¶
func (*EventType) ProtoMessage ¶
func (*EventType) ProtoMessage()
type Payload ¶
type Payload struct { EventType *EventType `protobuf:"bytes,1,opt,name=eventType" json:"eventType,omitempty"` Data string `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"` }
func (*Payload) Descriptor ¶
func (*Payload) GetEventType ¶
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
type Request ¶
type Request struct { Events []*EventType `protobuf:"bytes,1,rep,name=Events" json:"Events,omitempty"` ForceClose bool `protobuf:"varint,2,opt,name=forceClose" json:"forceClose,omitempty"` }
func (*Request) Descriptor ¶
func (*Request) GetForceClose ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
type StreamServiceClient ¶
type StreamServiceClient interface {
Events(ctx context.Context, opts ...grpc.CallOption) (StreamService_EventsClient, error)
}
func NewStreamServiceClient ¶
func NewStreamServiceClient(cc *grpc.ClientConn) StreamServiceClient
type StreamServiceServer ¶
type StreamServiceServer interface {
Events(StreamService_EventsServer) error
}
Click to show internal directories.
Click to hide internal directories.