latlon

package
v0.0.0-...-75e3e40 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2018 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

func Open

func Open(d string) (*DB, error)

func (*DB) Close

func (db *DB) Close()

func (*DB) Lookup

func (db *DB) Lookup(ip net.IP) (*Result, error)

type Result

type Result struct {
	geoip2.City // embed
	geoip2.ISP  // embed
}

Jump to

Keyboard shortcuts

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