Versions in this module Expand all Collapse all v1 v1.0.0 May 2, 2018 Changes in this version + const DefaultResponseValue + const ListResponseCount + type InterceptorTestSuite struct + Client pb_testproto.TestServiceClient + ClientOpts []grpc.DialOption + Server *grpc.Server + ServerListener net.Listener + ServerOpts []grpc.ServerOption + TestService pb_testproto.TestServiceServer + func (s *InterceptorTestSuite) DeadlineCtx(deadline time.Time) context.Context + func (s *InterceptorTestSuite) NewClient(dialOpts ...grpc.DialOption) pb_testproto.TestServiceClient + func (s *InterceptorTestSuite) ServerAddr() string + func (s *InterceptorTestSuite) SetupSuite() + func (s *InterceptorTestSuite) SimpleCtx() context.Context + func (s *InterceptorTestSuite) TearDownSuite() + type MutexReadWriter struct + func NewMutexReadWriter(rw io.ReadWriter) *MutexReadWriter + func (m *MutexReadWriter) Read(p []byte) (int, error) + func (m *MutexReadWriter) Write(p []byte) (int, error) + type TestPingService struct + T *testing.T + func (s *TestPingService) Ping(ctx context.Context, ping *pb_testproto.PingRequest) (*pb_testproto.PingResponse, error) + func (s *TestPingService) PingEmpty(ctx context.Context, _ *pb_testproto.Empty) (*pb_testproto.PingResponse, error) + func (s *TestPingService) PingError(ctx context.Context, ping *pb_testproto.PingRequest) (*pb_testproto.Empty, error) + func (s *TestPingService) PingList(ping *pb_testproto.PingRequest, stream pb_testproto.TestService_PingListServer) error + func (s *TestPingService) PingStream(stream pb_testproto.TestService_PingStreamServer) error