Documentation ¶ Index ¶ type Conf type Handlers func NewGeoHandler(c Conf) (*Handlers, error) type Location func GetLocation(h *Handlers, lon, lat float64, c Conf) (Location, error) func ReverseGeocode(lon, lat float64, c Conf) (Location, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Conf ¶ type Conf = types.Conf type Handlers ¶ type Handlers struct { // contains filtered or unexported fields } func NewGeoHandler ¶ func NewGeoHandler(c Conf) (*Handlers, error) type Location ¶ type Location = rgeo.Location func GetLocation ¶ func GetLocation(h *Handlers, lon, lat float64, c Conf) (Location, error) func ReverseGeocode ¶ func ReverseGeocode(lon, lat float64, c Conf) (Location, error) Source Files ¶ View all Source files geo.go Click to show internal directories. Click to hide internal directories.