Documentation ¶
Overview ¶
Package geo is a generated protocol buffer package.
It is generated from these files:
github.com/ship-os/ship-micro/examples/booking/srv/geo/proto/geo.proto
It has these top-level messages:
Request Result
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGeoHandler ¶
func RegisterGeoHandler(s server.Server, hdlr GeoHandler, opts ...server.HandlerOption)
Types ¶
type GeoHandler ¶
type GeoService ¶
type GeoService interface { // Finds the hotels contained nearby the current lat/lon. Nearby(ctx context.Context, in *Request, opts ...client.CallOption) (*Result, error) }
func NewGeoService ¶
func NewGeoService(serviceName string, c client.Client) GeoService
Click to show internal directories.
Click to hide internal directories.