Versions in this module Expand all Collapse all v0 v0.1.0 Jun 10, 2024 Changes in this version + const TestService_Test_FullMethodName + var File_ts_proto protoreflect.FileDescriptor + var TestService_ServiceDesc = grpc.ServiceDesc + func RegisterTestServiceServer(s grpc.ServiceRegistrar, srv TestServiceServer) + func Run(t *testing.T, ts MockTestService, opts ...grpc.ServerOption) (addr string) + type MockTestService struct + TestFunc func(ctx context.Context, in *TestRequest) (*TestResponse, error) + func (m *MockTestService) Test(ctx context.Context, in *TestRequest) (*TestResponse, error) + type TestRequest struct + Key string + func (*TestRequest) Descriptor() ([]byte, []int) + func (*TestRequest) ProtoMessage() + func (x *TestRequest) GetKey() string + func (x *TestRequest) ProtoReflect() protoreflect.Message + func (x *TestRequest) Reset() + func (x *TestRequest) String() string + type TestResponse struct + Value string + func (*TestResponse) Descriptor() ([]byte, []int) + func (*TestResponse) ProtoMessage() + func (x *TestResponse) GetValue() string + func (x *TestResponse) ProtoReflect() protoreflect.Message + func (x *TestResponse) Reset() + func (x *TestResponse) String() string + type TestServiceClient interface + Test func(ctx context.Context, in *TestRequest, opts ...grpc.CallOption) (*TestResponse, error) + func NewTestServiceClient(cc grpc.ClientConnInterface) TestServiceClient + type TestServiceServer interface + Test func(context.Context, *TestRequest) (*TestResponse, error) + type UnimplementedTestServiceServer struct + func (UnimplementedTestServiceServer) Test(context.Context, *TestRequest) (*TestResponse, error) + type UnsafeTestServiceServer interface