Documentation ¶
Overview ¶
Package proto is a generated protocol buffer package.
It is generated from these files:
plugin/proto/kaetzchen.proto
It has these top-level messages:
Request Response Params Empty
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterKaetzchenServer ¶
func RegisterKaetzchenServer(s *grpc.Server, srv KaetzchenServer)
Types ¶
type Empty ¶
type Empty struct { }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
type KaetzchenClient ¶
type KaetzchenClient interface { OnRequest(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) Parameters(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Params, error) }
func NewKaetzchenClient ¶
func NewKaetzchenClient(cc *grpc.ClientConn) KaetzchenClient
type KaetzchenServer ¶
type Params ¶
func (*Params) Descriptor ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
type Request ¶
type Request struct { ID uint64 `protobuf:"varint,1,opt,name=ID,json=iD" json:"ID,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=Payload,json=payload,proto3" json:"Payload,omitempty"` HasSURB bool `protobuf:"varint,3,opt,name=HasSURB,json=hasSURB" json:"HasSURB,omitempty"` }
func (*Request) Descriptor ¶
func (*Request) GetHasSURB ¶
func (*Request) GetPayload ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
type Response ¶
type Response struct {
Payload []byte `protobuf:"bytes,1,opt,name=Payload,json=payload,proto3" json:"Payload,omitempty"`
}
func (*Response) Descriptor ¶
func (*Response) GetPayload ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.