Documentation
¶
Index ¶
Constants ¶
View Source
const (
PELIAS_AUTOCOMPLETE_ENDPOINT = "/v1/autocomplete"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Geocoder ¶
type Geocoder interface {
Autocomplete(text string) (*geojson.FeatureCollection, error)
}
type PeliasHandler ¶
type PeliasHandler struct {
BaseURL string
}
func NewPeliasHandler ¶
func NewPeliasHandler(baseUrl string) (PeliasHandler, error)
func (PeliasHandler) Autocomplete ¶
func (h PeliasHandler) Autocomplete(text string) (*geojson.FeatureCollection, error)
Click to show internal directories.
Click to hide internal directories.