Documentation ¶
Overview ¶
Package greeter is a generated protocol buffer package.
It is generated from these files:
github.com/ship-os/ship-micro/examples/service/proto/greeter.proto
It has these top-level messages:
HelloRequest HelloResponse
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 *HelloRequest, opts ...client.CallOption) (*HelloResponse, error)
}
func NewGreeterService ¶
func NewGreeterService(serviceName string, c client.Client) GreeterService
Click to show internal directories.
Click to hide internal directories.