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) + type ExampleClient interface + Call func(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) + PingPong func(ctx context.Context, opts ...grpc.CallOption) (Example_PingPongClient, error) + Stream func(ctx context.Context, in *StreamingRequest, opts ...grpc.CallOption) (Example_StreamClient, error) + func NewExampleClient(cc *grpc.ClientConn) ExampleClient + type ExampleHandler interface + Call func(context.Context, *Request, *Response) error + PingPong func(context.Context, Example_PingPongStream) error + Stream func(context.Context, *StreamingRequest, Example_StreamStream) error + type ExampleServer interface + Call func(context.Context, *Request) (*Response, error) + PingPong func(Example_PingPongServer) error + Stream func(*StreamingRequest, Example_StreamServer) error + type ExampleService interface + Call func(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error) + PingPong func(ctx context.Context, opts ...client.CallOption) (Example_PingPongService, error) + Stream func(ctx context.Context, in *StreamingRequest, opts ...client.CallOption) (Example_StreamService, error) + func NewExampleService(serviceName string, c client.Client) ExampleService + type Example_PingPongClient interface + Recv func() (*Pong, error) + Send func(*Ping) error + type Example_PingPongServer interface + Recv func() (*Ping, error) + Send func(*Pong) error + type Example_PingPongService interface + Close func() error + Recv func() (*Pong, error) + RecvMsg func(interface{}) error + Send func(*Ping) error + SendMsg func(interface{}) error + type Example_PingPongStream interface + Close func() error + Recv func() (*Ping, error) + RecvMsg func(interface{}) error + Send func(*Pong) error + SendMsg func(interface{}) error + type Example_StreamClient interface + Recv func() (*StreamingResponse, error) + type Example_StreamServer interface + Send func(*StreamingResponse) error + type Example_StreamService interface + Close func() error + Recv func() (*StreamingResponse, error) + RecvMsg func(interface{}) error + SendMsg func(interface{}) error + type Example_StreamStream interface + Close func() error + RecvMsg func(interface{}) error + Send func(*StreamingResponse) error + SendMsg func(interface{}) error + type Message struct + Say string + func (*Message) Descriptor() ([]byte, []int) + func (*Message) ProtoMessage() + func (m *Message) GetSay() string + func (m *Message) Reset() + func (m *Message) String() string + type Ping struct + Stroke int64 + func (*Ping) Descriptor() ([]byte, []int) + func (*Ping) ProtoMessage() + func (m *Ping) GetStroke() int64 + func (m *Ping) Reset() + func (m *Ping) String() string + type Pong struct + Stroke int64 + func (*Pong) Descriptor() ([]byte, []int) + func (*Pong) ProtoMessage() + func (m *Pong) GetStroke() int64 + func (m *Pong) Reset() + func (m *Pong) String() string + 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 + type StreamingRequest struct + Count int64 + func (*StreamingRequest) Descriptor() ([]byte, []int) + func (*StreamingRequest) ProtoMessage() + func (m *StreamingRequest) GetCount() int64 + func (m *StreamingRequest) Reset() + func (m *StreamingRequest) String() string + type StreamingResponse struct + Count int64 + func (*StreamingResponse) Descriptor() ([]byte, []int) + func (*StreamingResponse) ProtoMessage() + func (m *StreamingResponse) GetCount() int64 + func (m *StreamingResponse) Reset() + func (m *StreamingResponse) String() string