Documentation ¶
Overview ¶
Package go_micro_fnc_template is a generated protocol buffer package.
It is generated from these files:
github.com/micro/examples/template/fnc/proto/example/example.proto
It has these top-level messages:
Message Request Response
Package go_micro_fnc_template is a generated protocol buffer package.
It is generated from these files:
github.com/micro/examples/template/fnc/proto/example/example.proto
It has these top-level messages:
Message Request Response
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 Example ¶
type Example struct {
ExampleHandler
}
type ExampleClient ¶
type ExampleClient interface {
Call(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error)
}
func NewExampleClient ¶
func NewExampleClient(serviceName string, c client.Client) ExampleClient
type ExampleHandler ¶
type Message ¶
type Message struct {
Say string `protobuf:"bytes,1,opt,name=say" json:"say,omitempty"`
}
func (*Message) Descriptor ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
type Request ¶
type Request struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (*Request) Descriptor ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
type Response ¶
type Response struct {
Msg string `protobuf:"bytes,1,opt,name=msg" json:"msg,omitempty"`
}
func (*Response) Descriptor ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.