Documentation ¶
Overview ¶
Package go_micro_api_greeter is a generated protocol buffer package.
It is generated from these files:
github.com/ship-os/ship-micro/examples/greeter/api/rpc/proto/hello/hello.proto
It has these top-level messages:
Request Response
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGreeterHandler ¶
func RegisterGreeterHandler(s server.Server, hdlr GreeterHandler, opts ...server.HandlerOption)
Types ¶
type GreeterHandler ¶
type GreeterService ¶
type GreeterService interface {
Hello(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error)
}
func NewGreeterService ¶
func NewGreeterService(serviceName string, c client.Client) GreeterService
Click to show internal directories.
Click to hide internal directories.