Versions in this module Expand all Collapse all v1 v1.0.1 Jun 25, 2023 v1.0.0 Jun 25, 2023 Changes in this version + const ListResponseCount + var BadPing = &PingRequest + var BadPingError = &PingErrorRequest + var BadPingList = &PingListRequest + var BadPingResponse = &PingResponse + var BadPingStream = &PingStreamRequest + var File_test_proto protoreflect.FileDescriptor + var GoodPing = &PingRequest + var GoodPingError = &PingErrorRequest + var GoodPingList = &PingListRequest + var GoodPingResponse = &PingResponse + var GoodPingStream = &PingStreamRequest + var TestServiceFullName = _TestService_serviceDesc.ServiceName + func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer) + type InterceptorTestSuite struct + Client TestServiceClient + ClientOpts []grpc.DialOption + Server *grpc.Server + ServerListener net.Listener + ServerOpts []grpc.ServerOption + TestService TestServiceServer + func (s *InterceptorTestSuite) DeadlineCtx(deadline time.Time) context.Context + func (s *InterceptorTestSuite) NewClient(dialOpts ...grpc.DialOption) TestServiceClient + func (s *InterceptorTestSuite) RestartServer(delayedStart time.Duration) <-chan bool + func (s *InterceptorTestSuite) ServerAddr() string + func (s *InterceptorTestSuite) SetupSuite() + func (s *InterceptorTestSuite) SimpleCtx() context.Context + func (s *InterceptorTestSuite) TearDownSuite() + type PingEmptyRequest struct + func (*PingEmptyRequest) Descriptor() ([]byte, []int) + func (*PingEmptyRequest) ProtoMessage() + func (x *PingEmptyRequest) ProtoReflect() protoreflect.Message + func (x *PingEmptyRequest) Reset() + func (x *PingEmptyRequest) String() string + type PingEmptyResponse struct + func (*PingEmptyResponse) Descriptor() ([]byte, []int) + func (*PingEmptyResponse) ProtoMessage() + func (x *PingEmptyResponse) ProtoReflect() protoreflect.Message + func (x *PingEmptyResponse) Reset() + func (x *PingEmptyResponse) String() string + type PingErrorRequest struct + ErrorCodeReturned uint32 + SleepTimeMs int32 + Value string + func (*PingErrorRequest) Descriptor() ([]byte, []int) + func (*PingErrorRequest) ProtoMessage() + func (x *PingErrorRequest) GetErrorCodeReturned() uint32 + func (x *PingErrorRequest) GetSleepTimeMs() int32 + func (x *PingErrorRequest) GetValue() string + func (x *PingErrorRequest) ProtoReflect() protoreflect.Message + func (x *PingErrorRequest) Reset() + func (x *PingErrorRequest) String() string + func (x *PingErrorRequest) Validate() error + type PingErrorResponse struct + Counter int32 + Value string + func (*PingErrorResponse) Descriptor() ([]byte, []int) + func (*PingErrorResponse) ProtoMessage() + func (x *PingErrorResponse) GetCounter() int32 + func (x *PingErrorResponse) GetValue() string + func (x *PingErrorResponse) ProtoReflect() protoreflect.Message + func (x *PingErrorResponse) Reset() + func (x *PingErrorResponse) String() string + type PingListRequest struct + ErrorCodeReturned uint32 + SleepTimeMs int32 + Value string + func (*PingListRequest) Descriptor() ([]byte, []int) + func (*PingListRequest) ProtoMessage() + func (x *PingListRequest) GetErrorCodeReturned() uint32 + func (x *PingListRequest) GetSleepTimeMs() int32 + func (x *PingListRequest) GetValue() string + func (x *PingListRequest) ProtoReflect() protoreflect.Message + func (x *PingListRequest) Reset() + func (x *PingListRequest) String() string + func (x *PingListRequest) Validate(bool) error + type PingListResponse struct + Counter int32 + Value string + func (*PingListResponse) Descriptor() ([]byte, []int) + func (*PingListResponse) ProtoMessage() + func (x *PingListResponse) GetCounter() int32 + func (x *PingListResponse) GetValue() string + func (x *PingListResponse) ProtoReflect() protoreflect.Message + func (x *PingListResponse) Reset() + func (x *PingListResponse) 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 + func (x *PingRequest) Validate(bool) error + 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 + func (x *PingResponse) Validate() error + func (x *PingResponse) ValidateAll() error + type PingStreamRequest struct + ErrorCodeReturned uint32 + SleepTimeMs int32 + Value string + func (*PingStreamRequest) Descriptor() ([]byte, []int) + func (*PingStreamRequest) ProtoMessage() + func (x *PingStreamRequest) GetErrorCodeReturned() uint32 + func (x *PingStreamRequest) GetSleepTimeMs() int32 + func (x *PingStreamRequest) GetValue() string + func (x *PingStreamRequest) ProtoReflect() protoreflect.Message + func (x *PingStreamRequest) Reset() + func (x *PingStreamRequest) String() string + func (x *PingStreamRequest) Validate(bool) error + type PingStreamResponse struct + Counter int32 + Value string + func (*PingStreamResponse) Descriptor() ([]byte, []int) + func (*PingStreamResponse) ProtoMessage() + func (x *PingStreamResponse) GetCounter() int32 + func (x *PingStreamResponse) GetValue() string + func (x *PingStreamResponse) ProtoReflect() protoreflect.Message + func (x *PingStreamResponse) Reset() + func (x *PingStreamResponse) String() string + type TestPingService struct + func (s *TestPingService) Ping(_ context.Context, ping *PingRequest) (*PingResponse, error) + func (s *TestPingService) PingEmpty(_ context.Context, _ *PingEmptyRequest) (*PingEmptyResponse, error) + func (s *TestPingService) PingError(_ context.Context, ping *PingErrorRequest) (*PingErrorResponse, error) + func (s *TestPingService) PingList(ping *PingListRequest, stream TestService_PingListServer) error + func (s *TestPingService) PingStream(stream TestService_PingStreamServer) error + type TestServiceClient interface + Ping func(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) + PingEmpty func(ctx context.Context, in *PingEmptyRequest, opts ...grpc.CallOption) (*PingEmptyResponse, error) + PingError func(ctx context.Context, in *PingErrorRequest, opts ...grpc.CallOption) (*PingErrorResponse, error) + PingList func(ctx context.Context, in *PingListRequest, opts ...grpc.CallOption) (TestService_PingListClient, error) + PingStream func(ctx context.Context, opts ...grpc.CallOption) (TestService_PingStreamClient, error) + func NewTestServiceClient(cc grpc.ClientConnInterface) TestServiceClient + type TestServiceServer interface + Ping func(context.Context, *PingRequest) (*PingResponse, error) + PingEmpty func(context.Context, *PingEmptyRequest) (*PingEmptyResponse, error) + PingError func(context.Context, *PingErrorRequest) (*PingErrorResponse, error) + PingList func(*PingListRequest, TestService_PingListServer) error + PingStream func(TestService_PingStreamServer) error + type TestService_PingListClient interface + Recv func() (*PingListResponse, error) + type TestService_PingListServer interface + Send func(*PingListResponse) error + type TestService_PingStreamClient interface + Recv func() (*PingStreamResponse, error) + Send func(*PingStreamRequest) error + type TestService_PingStreamServer interface + Recv func() (*PingStreamRequest, error) + Send func(*PingStreamResponse) error + type UnimplementedTestServiceServer struct + func (*UnimplementedTestServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error) + func (*UnimplementedTestServiceServer) PingEmpty(context.Context, *PingEmptyRequest) (*PingEmptyResponse, error) + func (*UnimplementedTestServiceServer) PingError(context.Context, *PingErrorRequest) (*PingErrorResponse, error) + func (*UnimplementedTestServiceServer) PingList(*PingListRequest, TestService_PingListServer) error + func (*UnimplementedTestServiceServer) PingStream(TestService_PingStreamServer) error