geo

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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