package
1.0.1
Repository: https://github.com/chunyu224/go-utils.git
Documentation: pkg.go.dev

# README

GEOIP2(GeoLite2)

GeoLite2数据库是免费的IP地理位置数据库,它可以通过IP地址识别其所在的城市和国家。与MaxMind的GeoIP2数据库相比,准确性较差。

GeoLite2-*.mmdb文件是一个二进制数据库文件,包含了MaxMind GeoLite2所需的全部数据。

GeoLite2的数据库分为:国家(Country),城市(City)和ASN三个数据库。每周两次更新。

数据库下载地址

  1. https://github.com/P3TERX/GeoLite.mmdb/releases
  2. https://dev.maxmind.com/geoip/geolite2-free-geolocation-data

# Packages

No description provided by the author

# Functions

NewClient .

# Structs

Client 地理位置解析结构体.