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