Documentation
¶
Overview ¶
Package fb is a generated protocol buffer package.
It is generated from these files:
fb.proto
It has these top-level messages:
Payload
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterWorkerServer ¶
func RegisterWorkerServer(s *grpc.Server, srv WorkerServer)
Types ¶
type Payload ¶
type Payload struct {
Data []byte `protobuf:"bytes,1,opt,name=Data,json=data,proto3" json:"Data,omitempty"`
}
func (*Payload) Descriptor ¶
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
type WorkerClient ¶
type WorkerClient interface {
Hello(ctx context.Context, in *Payload, opts ...grpc.CallOption) (*Payload, error)
}
func NewWorkerClient ¶
func NewWorkerClient(cc *grpc.ClientConn) WorkerClient
Click to show internal directories.
Click to hide internal directories.