Documentation
¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
pingpong.proto
It has these top-level messages:
Ping Pong
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPingPongServer ¶
func RegisterPingPongServer(s *grpc.Server, srv PingPongServer)
Types ¶
type Ping ¶
type Ping struct {
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
}
func (*Ping) Descriptor ¶
func (*Ping) GetMessage ¶
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
type PingPongClient ¶
type PingPongClient interface {
PingPong(ctx context.Context, opts ...grpc.CallOption) (PingPong_PingPongClient, error)
}
func NewPingPongClient ¶
func NewPingPongClient(cc *grpc.ClientConn) PingPongClient
type PingPongServer ¶
type PingPongServer interface {
PingPong(PingPong_PingPongServer) error
}
type PingPong_PingPongClient ¶
type PingPong_PingPongServer ¶
type Pong ¶
type Pong struct {
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
}
func (*Pong) Descriptor ¶
func (*Pong) GetMessage ¶
func (*Pong) ProtoMessage ¶
func (*Pong) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.