Versions in this module Expand all Collapse all v1 v1.4.0 May 16, 2023 Changes in this version + var File_testping_proto protoreflect.FileDescriptor + var TestService_ServiceDesc = grpc.ServiceDesc + func RegisterTestServiceServer(s grpc.ServiceRegistrar, srv TestServiceServer) + type Empty struct + func (*Empty) Descriptor() ([]byte, []int) + func (*Empty) ProtoMessage() + func (x *Empty) ProtoReflect() protoreflect.Message + func (x *Empty) Reset() + func (x *Empty) String() string + type PingRequest struct + ErrorCodeReturned uint32 + SleepTimeMs int32 + Value string + func (*PingRequest) Descriptor() ([]byte, []int) + func (*PingRequest) ProtoMessage() + func (x *PingRequest) GetErrorCodeReturned() uint32 + func (x *PingRequest) GetSleepTimeMs() int32 + func (x *PingRequest) GetValue() string + func (x *PingRequest) ProtoReflect() protoreflect.Message + func (x *PingRequest) Reset() + func (x *PingRequest) String() string + type PingResponse struct + Counter int32 + Value string + func (*PingResponse) Descriptor() ([]byte, []int) + func (*PingResponse) ProtoMessage() + func (x *PingResponse) GetCounter() int32 + func (x *PingResponse) GetValue() string + func (x *PingResponse) ProtoReflect() protoreflect.Message + func (x *PingResponse) Reset() + func (x *PingResponse) String() string + type TestServiceClient interface + Ping func(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) + PingEmpty func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*PingResponse, error) + PingError func(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*Empty, error) + func NewTestServiceClient(cc grpc.ClientConnInterface) TestServiceClient + type TestServiceServer interface + Ping func(context.Context, *PingRequest) (*PingResponse, error) + PingEmpty func(context.Context, *Empty) (*PingResponse, error) + PingError func(context.Context, *PingRequest) (*Empty, error) + type UnimplementedTestServiceServer struct + func (UnimplementedTestServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error) + func (UnimplementedTestServiceServer) PingEmpty(context.Context, *Empty) (*PingResponse, error) + func (UnimplementedTestServiceServer) PingError(context.Context, *PingRequest) (*Empty, error) + type UnsafeTestServiceServer interface