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