Versions in this module Expand all Collapse all v1 v1.0.0 Aug 3, 2021 Changes in this version + var File_ping_proto protoreflect.FileDescriptor + func RegisterPingServiceServer(s *grpc.Server, srv PingServiceServer) + func SendPingMsg(client PingServiceClient) (string, error) + type PingService struct + func (s *PingService) SendPongMsg(ctx context.Context, req *Request) (*Response, error) + type PingServiceClient interface + SendPongMsg func(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) + func NewPingServiceClient(cc grpc.ClientConnInterface) PingServiceClient + type PingServiceServer interface + SendPongMsg func(context.Context, *Request) (*Response, error) + type Pong struct + Index int32 + Message string + ReceivedOn *timestamppb.Timestamp + func (*Pong) Descriptor() ([]byte, []int) + func (*Pong) ProtoMessage() + func (x *Pong) GetIndex() int32 + func (x *Pong) GetMessage() string + func (x *Pong) GetReceivedOn() *timestamppb.Timestamp + func (x *Pong) ProtoReflect() protoreflect.Message + func (x *Pong) Reset() + func (x *Pong) String() string + type Request struct + Message string + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (x *Request) GetMessage() string + func (x *Request) ProtoReflect() protoreflect.Message + func (x *Request) Reset() + func (x *Request) String() string + type Response struct + Pong *Pong + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (x *Response) GetPong() *Pong + func (x *Response) ProtoReflect() protoreflect.Message + func (x *Response) Reset() + func (x *Response) String() string + type UnimplementedPingServiceServer struct + func (*UnimplementedPingServiceServer) SendPongMsg(context.Context, *Request) (*Response, error)