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