placessrc

package
v0.0.0-...-1591631 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUpstreamFailure = herror.New("could not reach place server")
)

Functions

This section is empty.

Types

type Geocoder

type Geocoder interface {
	Geocode(searchterm string) (float32, float32, error)
}

type PlacesSrc

type PlacesSrc interface {
	NearbySearch(lat, long float32, limit int) ([]*place.Place, error)
	FetchDetail(placeId place.PlaceId) *place.PlaceDetail
}

Jump to

Keyboard shortcuts

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