Documentation ¶
Overview ¶
Package profile is a generated protocol buffer package.
It is generated from these files:
github.com/ship-os/ship-micro/examples/booking/srv/profile/proto/profile.proto
It has these top-level messages:
Request Result Hotel Address Image
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterProfileHandler ¶
func RegisterProfileHandler(s server.Server, hdlr ProfileHandler, opts ...server.HandlerOption)
Types ¶
type ProfileHandler ¶
type ProfileService ¶
type ProfileService interface {
GetProfiles(ctx context.Context, in *Request, opts ...client.CallOption) (*Result, error)
}
func NewProfileService ¶
func NewProfileService(serviceName string, c client.Client) ProfileService
Click to show internal directories.
Click to hide internal directories.