Documentation
¶
Overview ¶
Package rate is a generated protocol buffer package.
It is generated from these files:
github.com/ship-os/ship-micro/examples/booking/srv/rate/proto/rate.proto
It has these top-level messages:
Request Result RatePlan RoomType
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRateHandler ¶
func RegisterRateHandler(s server.Server, hdlr RateHandler, opts ...server.HandlerOption)
Types ¶
type RateHandler ¶
type RateService ¶
type RateService interface {
// GetRates returns rate codes for hotels for a given date range
GetRates(ctx context.Context, in *Request, opts ...client.CallOption) (*Result, error)
}
func NewRateService ¶
func NewRateService(serviceName string, c client.Client) RateService
Click to show internal directories.
Click to hide internal directories.