Documentation ¶
Overview ¶
Package omega is a generated protocol buffer package.
Omega Service ¶
Omega Service.
It is generated from these files:
omega.proto
It has these top-level messages:
Message DumpReq DumpItem
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterOmegaServiceServer ¶
func RegisterOmegaServiceServer(s *grpc.Server, srv OmegaServiceServer)
Types ¶
type DumpItem ¶
type DumpItem struct { Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` Val string `protobuf:"bytes,2,opt,name=val" json:"val,omitempty"` }
func (*DumpItem) Descriptor ¶
func (*DumpItem) ProtoMessage ¶
func (*DumpItem) ProtoMessage()
type DumpReq ¶
type DumpReq struct { }
func (*DumpReq) Descriptor ¶
func (*DumpReq) ProtoMessage ¶
func (*DumpReq) ProtoMessage()
type Message ¶
type Message struct { // Id represents the message identifier. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` // The message to be sent. Msg string `protobuf:"bytes,2,opt,name=msg" json:"msg,omitempty"` }
Message represents a simple message sent to the Echo service.
func (*Message) Descriptor ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
type OmegaServiceClient ¶
type OmegaServiceClient interface { // Echo method receives a simple message and returns it. // The message posted as the id parameter will also be returned. Echo(ctx context.Context, in *Message, opts ...grpc.CallOption) (*Message, error) }
func NewOmegaServiceClient ¶
func NewOmegaServiceClient(cc *grpc.ClientConn) OmegaServiceClient
Click to show internal directories.
Click to hide internal directories.