mirror of
https://github.com/therootcompany/golib.git
synced 2026-11-04 15:05:00 +00:00
Ties gitshallow, httpcache, geoip, ipcohort, and sync/dataset together into a single tool that resolves an IP against the configured blocklist and GeoIP databases, with optional --serve mode for production use. Flags: --git, --blocklist, --whitelist, --geoip-conf, --serve, --async-load, --format pretty|json, plus -V/--version and help. Includes /healthz, http.Server timeouts, and stage-timing logs to stderr.
12 lines
341 B
Modula-2
12 lines
341 B
Modula-2
module github.com/therootcompany/golib/cmd/check-ip
|
|
|
|
go 1.26.0
|
|
|
|
require (
|
|
github.com/therootcompany/golib/net/geoip v0.0.0
|
|
github.com/therootcompany/golib/net/gitshallow v0.0.0
|
|
github.com/therootcompany/golib/net/httpcache v0.0.0
|
|
github.com/therootcompany/golib/net/ipcohort v0.0.0
|
|
github.com/therootcompany/golib/sync/dataset v0.0.0
|
|
)
|