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 RegisterProfileHandler(s server.Server, hdlr ProfileHandler, opts ...server.HandlerOption) + func RegisterProfileServer(s *grpc.Server, srv ProfileServer) + type Address struct + City string + Country string + PostalCode string + State string + StreetName string + StreetNumber string + func (*Address) Descriptor() ([]byte, []int) + func (*Address) ProtoMessage() + func (m *Address) GetCity() string + func (m *Address) GetCountry() string + func (m *Address) GetPostalCode() string + func (m *Address) GetState() string + func (m *Address) GetStreetName() string + func (m *Address) GetStreetNumber() string + func (m *Address) Reset() + func (m *Address) String() string + type Hotel struct + Address *Address + Description string + Id string + Images []*Image + Name string + PhoneNumber string + func (*Hotel) Descriptor() ([]byte, []int) + func (*Hotel) ProtoMessage() + func (m *Hotel) GetAddress() *Address + func (m *Hotel) GetDescription() string + func (m *Hotel) GetId() string + func (m *Hotel) GetImages() []*Image + func (m *Hotel) GetName() string + func (m *Hotel) GetPhoneNumber() string + func (m *Hotel) Reset() + func (m *Hotel) String() string + type Image struct + Default bool + Url string + func (*Image) Descriptor() ([]byte, []int) + func (*Image) ProtoMessage() + func (m *Image) GetDefault() bool + func (m *Image) GetUrl() string + func (m *Image) Reset() + func (m *Image) String() string + type ProfileClient interface + GetProfiles func(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Result, error) + func NewProfileClient(cc *grpc.ClientConn) ProfileClient + type ProfileHandler interface + GetProfiles func(context.Context, *Request, *Result) error + type ProfileServer interface + GetProfiles func(context.Context, *Request) (*Result, error) + type ProfileService interface + GetProfiles func(ctx context.Context, in *Request, opts ...client.CallOption) (*Result, error) + func NewProfileService(serviceName string, c client.Client) ProfileService + type Request struct + HotelIds []string + Locale string + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (m *Request) GetHotelIds() []string + func (m *Request) GetLocale() string + func (m *Request) Reset() + func (m *Request) String() string + type Result struct + Hotels []*Hotel + func (*Result) Descriptor() ([]byte, []int) + func (*Result) ProtoMessage() + func (m *Result) GetHotels() []*Hotel + func (m *Result) Reset() + func (m *Result) String() string