Versions in this module Expand all Collapse all v0 v0.2.0 Jul 12, 2019 v0.1.0 Jan 30, 2019 Changes in this version + func RegisterHotelHandler(s server.Server, hdlr HotelHandler, opts ...server.HandlerOption) + func RegisterHotelServer(s *grpc.Server, srv HotelServer) + type HotelClient interface + Rates func(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) + func NewHotelClient(cc *grpc.ClientConn) HotelClient + type HotelHandler interface + Rates func(context.Context, *Request, *Response) error + type HotelServer interface + Rates func(context.Context, *Request) (*Response, error) + type HotelService interface + Rates func(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error) + func NewHotelService(serviceName string, c client.Client) HotelService + type Request struct + InDate string + OutDate string + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (m *Request) GetInDate() string + func (m *Request) GetOutDate() string + func (m *Request) Reset() + func (m *Request) String() string + type Response struct + Hotels []*profile.Hotel + RatePlans []*rate.RatePlan + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (m *Response) GetHotels() []*profile.Hotel + func (m *Response) GetRatePlans() []*rate.RatePlan + func (m *Response) Reset() + func (m *Response) String() string