Versions in this module Expand all Collapse all v1 v1.1.0 Jun 21, 2019 v1.0.0 May 28, 2019 Changes in this version + func RegisterGreeterHandler(s server.Server, hdlr GreeterHandler, opts ...server.HandlerOption) + func RegisterGreeterServer(s *grpc.Server, srv GreeterServer) + type GreeterClient interface + Hello func(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) + func NewGreeterClient(cc *grpc.ClientConn) GreeterClient + type GreeterHandler interface + Hello func(context.Context, *Request, *Response) error + type GreeterServer interface + Hello func(context.Context, *Request) (*Response, error) + type GreeterService interface + Hello func(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error) + func NewGreeterService(serviceName string, c client.Client) GreeterService + type Request struct + Name string + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (m *Request) GetName() string + func (m *Request) Reset() + func (m *Request) String() string + type Response struct + Msg string + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (m *Response) GetMsg() string + func (m *Response) Reset() + func (m *Response) String() string