Versions in this module Expand all Collapse all v0 v0.2.0 Jul 12, 2019 v0.1.0 Jan 30, 2019 Changes in this version + func RegisterExampleHandler(s server.Server, hdlr ExampleHandler, opts ...server.HandlerOption) + func RegisterExampleServer(s *grpc.Server, srv ExampleServer) + func RegisterFooHandler(s server.Server, hdlr FooHandler, opts ...server.HandlerOption) + func RegisterFooServer(s *grpc.Server, srv FooServer) + type CallRequest struct + Name string + func (*CallRequest) Descriptor() ([]byte, []int) + func (*CallRequest) ProtoMessage() + func (m *CallRequest) GetName() string + func (m *CallRequest) Reset() + func (m *CallRequest) String() string + type CallResponse struct + Message string + func (*CallResponse) Descriptor() ([]byte, []int) + func (*CallResponse) ProtoMessage() + func (m *CallResponse) GetMessage() string + func (m *CallResponse) Reset() + func (m *CallResponse) String() string + type EmptyRequest struct + func (*EmptyRequest) Descriptor() ([]byte, []int) + func (*EmptyRequest) ProtoMessage() + func (m *EmptyRequest) Reset() + func (m *EmptyRequest) String() string + type EmptyResponse struct + func (*EmptyResponse) Descriptor() ([]byte, []int) + func (*EmptyResponse) ProtoMessage() + func (m *EmptyResponse) Reset() + func (m *EmptyResponse) String() string + type ExampleClient interface + Call func(ctx context.Context, in *CallRequest, opts ...grpc.CallOption) (*CallResponse, error) + func NewExampleClient(cc *grpc.ClientConn) ExampleClient + type ExampleHandler interface + Call func(context.Context, *CallRequest, *CallResponse) error + type ExampleServer interface + Call func(context.Context, *CallRequest) (*CallResponse, error) + type ExampleService interface + Call func(ctx context.Context, in *CallRequest, opts ...client.CallOption) (*CallResponse, error) + func NewExampleService(serviceName string, c client.Client) ExampleService + type FooClient interface + Bar func(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*EmptyResponse, error) + func NewFooClient(cc *grpc.ClientConn) FooClient + type FooHandler interface + Bar func(context.Context, *EmptyRequest, *EmptyResponse) error + type FooServer interface + Bar func(context.Context, *EmptyRequest) (*EmptyResponse, error) + type FooService interface + Bar func(ctx context.Context, in *EmptyRequest, opts ...client.CallOption) (*EmptyResponse, error) + func NewFooService(serviceName string, c client.Client) FooService