Discover Packages
github.com/itcmsgr/nftban
pkg
geoip
package
Version:
v1.13.12
Opens a new window with list of versions in this module.
Published: Feb 12, 2026
License: MPL-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Close closes the GeoIP database.
Only call this on application shutdown.
LookupIP performs a GeoIP lookup for an IP address.
Returns country code and city name, or empty strings if not found/error.
Safe to call concurrently from multiple goroutines.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.