Documentation ¶
Overview ¶
Package gmunch is a generated protocol buffer package.
It is generated from these files:
events.proto
It has these top-level messages:
Event Response
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterEventsServer ¶
func RegisterEventsServer(s *grpc.Server, srv EventsServer)
Types ¶
type Event ¶
type Event struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` }
func (*Event) Descriptor ¶
func (*Event) EncodeData ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
type EventsClient ¶
type EventsClient interface {
Publish(ctx context.Context, in *Event, opts ...grpc.CallOption) (*Response, error)
}
func NewEventsClient ¶
func NewEventsClient(cc *grpc.ClientConn) EventsClient
type EventsServer ¶
type Response ¶
type Response struct {
Ok bool `protobuf:"varint,1,opt,name=ok" json:"ok,omitempty"`
}
func (*Response) Descriptor ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.