mirror of
https://github.com/therootcompany/golib.git
synced 2026-04-24 20:58:00 +00:00
- geoip.Databases: wraps city+ASN datasets with nil-safe Init/Run/PrintInfo - geoip.(*Downloader).NewDatabases: builds Databases from downloader - cmd/check-ip/geo.go: setupGeo() handles conf parsing, dir creation, DB path resolution - cmd/check-ip/blacklist.go: isBlocked() + cohortSize() moved here - cmd/check-ip/main.go: flags, source selection, init, check, print — nothing else
10 lines
222 B
Modula-2
10 lines
222 B
Modula-2
module github.com/therootcompany/golib/net/geoip
|
|
|
|
go 1.26.0
|
|
|
|
require (
|
|
github.com/oschwald/geoip2-golang v1.13.0
|
|
github.com/therootcompany/golib/net/dataset v0.0.0
|
|
github.com/therootcompany/golib/net/httpcache v0.0.0
|
|
)
|