package
Version:
v3.3.5+incompatible
Opens a new window with list of versions in this module.
Published: May 25, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
MaxMind contains a pointer to a reader
New creates a new maxMind reader.
Close closes the maxMind connection
LookupIP returns geo information about an IP
type Record struct {
Location struct {
Latitude float32 `maxminddb:"latitude"`
Longitude float32 `maxminddb:"longitude"`
} `maxminddb:"location"`
}
Record contains the information we want out of maxMind
Source Files
¶
Click to show internal directories.
Click to hide internal directories.