geoip

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() *geoip2.Reader

func Reader

func Reader() *maxminddb.Reader

Types

type Info

type Info struct {
	City    string
	Country string
	Region  string
}

func Lookup

func Lookup(ip net.IP) Info

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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