Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Location ¶
type Location struct { ID string `json:"id"` // 0 CityName string `json:"city_name"` // 1 Lat float64 `json:"lat"` // 4 Lon float64 `json:"lon"` // 5 CountryCode string `json:"cc"` // 8 AdminCode string `json:"admin"` // 10 CountrySubdivision string `json:"subdivision"` // 11 CountryName string `json:"country_name"` SubdivisionName string `json:"subdivison_name"` Name string `json:"name"` }
type ReverseGeo ¶
type ReverseGeo struct {
// contains filtered or unexported fields
}
func (*ReverseGeo) Close ¶
func (rg *ReverseGeo) Close() error
func (*ReverseGeo) InitialLoading ¶
func (rg *ReverseGeo) InitialLoading(pathCities1000 string) error
XXX(tsileo): filter by feature class/feature code to only restrict to cities
func (*ReverseGeo) SetupAPI ¶
func (rg *ReverseGeo) SetupAPI(router *mux.Router)
Click to show internal directories.
Click to hide internal directories.