package
Version:
v1.4.2
Opens a new window with list of versions in this module.
Published: May 25, 2026
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
¶
Copyright (c) Tobias Schäfer. All rights reserved.
Licensed under the MIT License, see LICENSE file in the project root for details.
GeoIP is a wrapper around the GeoIP2 City database reader.
NewGeoIP creates a new GeoIP instance by loading the specified GeoIP2 City
database file.
Close closes the GeoIP database reader.
Location retrieves the geographical location information for the given IP
address. If no location data is found, it returns nil.
Location represents geographical location information.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.