hotel

package
v0.0.0-...-a649600 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

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 HotelHandler interface {
	Rates(context.Context, *Request, *Response) error
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL