Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartServer ¶
func StartServer(interceptor grpc.UnaryServerInterceptor)
Types ¶
type TestClient ¶
type TestClient struct { ExampleReq *pb.TestMessage ExampleInvalidReq *pb.TestMessage pb.TestServiceClient }
func GetClient ¶
func GetClient() *TestClient
func (*TestClient) SendErr ¶
func (c *TestClient) SendErr() (*pb.TestMessage, error)
func (*TestClient) SendReq ¶
func (c *TestClient) SendReq() (*pb.TestMessage, error)
type TestServer ¶
type TestServer struct{}
func (*TestServer) TestUnary ¶
func (s *TestServer) TestUnary(ctx context.Context, t *pb.TestMessage) (*pb.TestMessage, error)
Click to show internal directories.
Click to hide internal directories.