ipmap

package
v6.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not found")

Functions

func DummyLocations

func DummyLocations() map[string]LatLon

DummyLocations returns dummy locations for IPs. TODO remove when real geo lookup is implemented

func New

Types

type LatLon

type LatLon struct {
	Lat float64
	Lon float64
}

Jump to

Keyboard shortcuts

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