Versions in this module Expand all Collapse all v1 v1.0.0 Jun 21, 2023 Changes in this version + func RegisterServiceServerOption(f func(*grpc.Server)) grpc.ServerOption + type StubServer struct + Address string + CC *grpc.ClientConn + Client testgrpc.TestServiceClient + EmptyCallF func(ctx context.Context, in *testpb.Empty) (*testpb.Empty, error) + FullDuplexCallF func(stream testgrpc.TestService_FullDuplexCallServer) error + Network string + R *manual.Resolver + S *grpc.Server + Target string + UnaryCallF func(ctx context.Context, in *testpb.SimpleRequest) (*testpb.SimpleResponse, error) + func StartTestService(t *testing.T, server *StubServer) *StubServer + func (ss *StubServer) EmptyCall(ctx context.Context, in *testpb.Empty) (*testpb.Empty, error) + func (ss *StubServer) FullDuplexCall(stream testgrpc.TestService_FullDuplexCallServer) error + func (ss *StubServer) NewServiceConfig(sc string) + func (ss *StubServer) Start(sopts []grpc.ServerOption, dopts ...grpc.DialOption) error + func (ss *StubServer) StartClient(dopts ...grpc.DialOption) error + func (ss *StubServer) StartServer(sopts ...grpc.ServerOption) error + func (ss *StubServer) Stop() + func (ss *StubServer) UnaryCall(ctx context.Context, in *testpb.SimpleRequest) (*testpb.SimpleResponse, error)