MCPcopy
hub / github.com/chubin/wttr.in / Provider

Interface Provider

internal/location/search.go:5–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import "github.com/sirupsen/logrus"
4
5type Provider interface {
6 Name() string
7 Query(location string) (*Location, error)
8}
9
10type Searcher struct {
11 providers []Provider

Callers 9

SearchMethod · 0.65
LoadDefsFromAssetsFunction · 0.65
loadAllMethod · 0.65
preloadFontFilesFunction · 0.65
SearchMethod · 0.65
ResponseMethod · 0.65
ResponseMethod · 0.65
WeatherHandlerMethod · 0.65
computeResponseMethod · 0.65

Implementers 1

Nominatiminternal/location/nominatim.go

Calls

no outgoing calls

Tested by

no test coverage detected