maxmind

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

Close method will close the maxmind db files

func ConnType

func ConnType(ip string) string

func Connect

func Connect(cityDbPath, ispDbPath, connDbPath string)

func ISP

func ISP(ip string) string

Types

type City

type City struct {
	Name, State, Country string
	Latitude, Longitude  float64
}

func CityData

func CityData(ip string) City

Jump to

Keyboard shortcuts

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