rate

package
v0.0.0-...-c9a9a17 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rate

type Rate struct {
	// contains filtered or unexported fields
}

Rate implements the rate service

func New

func New(tr opentracing.Tracer) *Rate

New returns a new server

func (*Rate) GetRates

func (s *Rate) GetRates(ctx context.Context, req *rate.Request) (*rate.Result, error)

GetRates gets rates for hotels for specific date range.

func (*Rate) Run

func (s *Rate) Run(port int) error

Run starts the server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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