search

package
v0.0.0-...-376a73a Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

Search implements the search service

func NewSearch

func NewSearch(a string, p int, geoaddr string, rateaddr string, t opentracing.Tracer) *Search

NewSearch returns a new server

func (*Search) Nearby

func (s *Search) Nearby(ctx context.Context, req *pb.NearbyRequest) (*pb.SearchResult, error)

Nearby returns ids of nearby hotels ordered by ranking algo

func (*Search) Run

func (s *Search) Run() error

Run starts the server

Directories

Path Synopsis
Package search is a generated protocol buffer package.
Package search is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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