Documentation ¶
Overview ¶
Package go_micro_srv_template is a generated protocol buffer package.
It is generated from these files:
proto/example/example.proto
It has these top-level messages:
Message Request Response StreamingRequest StreamingResponse Ping Pong
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterExampleHandler ¶
func RegisterExampleHandler(s server.Server, hdlr ExampleHandler, opts ...server.HandlerOption)
Types ¶
type ExampleHandler ¶
type ExampleService ¶
type ExampleService interface { Call(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error) Stream(ctx context.Context, in *StreamingRequest, opts ...client.CallOption) (Example_StreamService, error) PingPong(ctx context.Context, opts ...client.CallOption) (Example_PingPongService, error) }
func NewExampleService ¶
func NewExampleService(serviceName string, c client.Client) ExampleService
type Example_PingPongService ¶
type Example_PingPongStream ¶
type Example_StreamService ¶
Click to show internal directories.
Click to hide internal directories.