{"modulePath":"github.com/micro/examples","version":"v0.2.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package go_micro_srv_example\n\nPackage go\\_micro\\_srv\\_example is a generated protocol buffer package.\n\nIt is generated from these files:\n\n\tgithub.com/micro/examples/server/proto/example/example.proto\n\nIt has these top-level messages:\n\n\tMessage\n\tRequest\n\tResponse\n\tStreamingRequest\n\tStreamingResponse\n\tPing\n\tPong\n\nPackage go\\_micro\\_srv\\_example is a generated protocol buffer package.\n\nIt is generated from these files:\n\n\tgithub.com/micro/examples/server/proto/example/example.proto\n\nIt has these top-level messages:\n\n\tMessage\n\tRequest\n\tResponse\n\tStreamingRequest\n\tStreamingResponse\n\tPing\n\tPong\n\n## Functions\n\n```go\nfunc RegisterExampleHandler(s server.Server, hdlr ExampleHandler, opts ...server.HandlerOption)\n```\n\n```go\nfunc RegisterExampleServer(s *grpc.Server, srv ExampleServer)\n```\n\n## Types\n\n```go\ntype ExampleClient interface {\n\tCall(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)\n\tStream(ctx context.Context, in *StreamingRequest, opts ...grpc.CallOption) (Example_StreamClient, error)\n\tPingPong(ctx context.Context, opts ...grpc.CallOption) (Example_PingPongClient, error)\n}\n```\n\n```go\nfunc NewExampleClient(cc *grpc.ClientConn) ExampleClient\n```\n\n```go\ntype ExampleHandler interface {\n\tCall(context.Context, *Request, *Response) error\n\tStream(context.Context, *StreamingRequest, Example_StreamStream) error\n\tPingPong(context.Context, Example_PingPongStream) error\n}\n```\n\n```go\ntype ExampleServer interface {\n\tCall(context.Context, *Request) (*Response, error)\n\tStream(*StreamingRequest, Example_StreamServer) error\n\tPingPong(Example_PingPongServer) error\n}\n```\n\n```go\ntype ExampleService interface {\n\tCall(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error)\n\tStream(ctx context.Context, in *StreamingRequest, opts ...client.CallOption) (Example_StreamService, error)\n\tPingPong(ctx context.Context, opts ...client.CallOption) (Example_PingPongService, error)\n}\n```\n\n```go\nfunc NewExampleService(serviceName string, c client.Client) ExampleService\n```\n\n```go\ntype Example_PingPongClient interface {\n\tSend(*Ping) error\n\tRecv() (*Pong, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype Example_PingPongServer interface {\n\tSend(*Pong) error\n\tRecv() (*Ping, error)\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype Example_PingPongService interface {\n\tSendMsg(interface{}) error\n\tRecvMsg(interface{}) error\n\tClose() error\n\tSend(*Ping) error\n\tRecv() (*Pong, error)\n}\n```\n\n```go\ntype Example_PingPongStream interface {\n\tSendMsg(interface{}) error\n\tRecvMsg(interface{}) error\n\tClose() error\n\tSend(*Pong) error\n\tRecv() (*Ping, error)\n}\n```\n\n```go\ntype Example_StreamClient interface {\n\tRecv() (*StreamingResponse, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype Example_StreamServer interface {\n\tSend(*StreamingResponse) error\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype Example_StreamService interface {\n\tSendMsg(interface{}) error\n\tRecvMsg(interface{}) error\n\tClose() error\n\tRecv() (*StreamingResponse, error)\n}\n```\n\n```go\ntype Example_StreamStream interface {\n\tSendMsg(interface{}) error\n\tRecvMsg(interface{}) error\n\tClose() error\n\tSend(*StreamingResponse) error\n}\n```\n\n```go\ntype Message struct {\n\tSay string `protobuf:\"bytes,1,opt,name=say\" json:\"say,omitempty\"`\n}\n```\n\n```go\nfunc (*Message) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Message) GetSay() string\n```\n\n```go\nfunc (*Message) ProtoMessage()\n```\n\n```go\nfunc (m *Message) Reset()\n```\n\n```go\nfunc (m *Message) String() string\n```\n\n```go\ntype Ping struct {\n\tStroke int64 `protobuf:\"varint,1,opt,name=stroke\" json:\"stroke,omitempty\"`\n}\n```\n\n```go\nfunc (*Ping) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Ping) GetStroke() int64\n```\n\n```go\nfunc (*Ping) ProtoMessage()\n```\n\n```go\nfunc (m *Ping) Reset()\n```\n\n```go\nfunc (m *Ping) String() string\n```\n\n```go\ntype Pong struct {\n\tStroke int64 `protobuf:\"varint,1,opt,name=stroke\" json:\"stroke,omitempty\"`\n}\n```\n\n```go\nfunc (*Pong) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Pong) GetStroke() int64\n```\n\n```go\nfunc (*Pong) ProtoMessage()\n```\n\n```go\nfunc (m *Pong) Reset()\n```\n\n```go\nfunc (m *Pong) String() string\n```\n\n```go\ntype Request struct {\n\tName string `protobuf:\"bytes,1,opt,name=name\" json:\"name,omitempty\"`\n}\n```\n\n```go\nfunc (*Request) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Request) GetName() string\n```\n\n```go\nfunc (*Request) ProtoMessage()\n```\n\n```go\nfunc (m *Request) Reset()\n```\n\n```go\nfunc (m *Request) String() string\n```\n\n```go\ntype Response struct {\n\tMsg string `protobuf:\"bytes,1,opt,name=msg\" json:\"msg,omitempty\"`\n}\n```\n\n```go\nfunc (*Response) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Response) GetMsg() string\n```\n\n```go\nfunc (*Response) ProtoMessage()\n```\n\n```go\nfunc (m *Response) Reset()\n```\n\n```go\nfunc (m *Response) String() string\n```\n\n```go\ntype StreamingRequest struct {\n\tCount int64 `protobuf:\"varint,1,opt,name=count\" json:\"count,omitempty\"`\n}\n```\n\n```go\nfunc (*StreamingRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *StreamingRequest) GetCount() int64\n```\n\n```go\nfunc (*StreamingRequest) ProtoMessage()\n```\n\n```go\nfunc (m *StreamingRequest) Reset()\n```\n\n```go\nfunc (m *StreamingRequest) String() string\n```\n\n```go\ntype StreamingResponse struct {\n\tCount int64 `protobuf:\"varint,1,opt,name=count\" json:\"count,omitempty\"`\n}\n```\n\n```go\nfunc (*StreamingResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *StreamingResponse) GetCount() int64\n```\n\n```go\nfunc (*StreamingResponse) ProtoMessage()\n```\n\n```go\nfunc (m *StreamingResponse) Reset()\n```\n\n```go\nfunc (m *StreamingResponse) String() string\n```\n\n","path":"github.com/micro/examples/server/proto/example","name":"go_micro_srv_example","synopsis":"Package go_micro_srv_example is a generated protocol buffer package.","isRedistributable":true}
