Versions in this module Expand all Collapse all v1 v1.18.1 Apr 6, 2022 Changes in this version + func RegisterTestHandler(s server.Server, hdlr TestHandler, opts ...server.HandlerOption) error + func RegisterTestServer(s *grpc.Server, srv TestServer) + type Request struct + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (m *Request) GetName() string + func (m *Request) Reset() + func (m *Request) String() string + func (m *Request) XXX_DiscardUnknown() + func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Request) XXX_Merge(src proto.Message) + func (m *Request) XXX_Size() int + func (m *Request) XXX_Unmarshal(b []byte) error + type Response struct + Msg string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (m *Response) GetMsg() string + func (m *Response) Reset() + func (m *Response) String() string + func (m *Response) XXX_DiscardUnknown() + func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Response) XXX_Merge(src proto.Message) + func (m *Response) XXX_Size() int + func (m *Response) XXX_Unmarshal(b []byte) error + type TestClient interface + Call func(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) + func NewTestClient(cc *grpc.ClientConn) TestClient + type TestHandler interface + Call func(context.Context, *Request, *Response) error + type TestServer interface + Call func(context.Context, *Request) (*Response, error) + type TestService interface + Call func(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error) + func NewTestService(name string, c client.Client) TestService