golib/net/ipgate/go.mod
AJ ONeal e007da3e44
feat(net/ipgate): IP allowlist/blocklist via PrefixSet and DomainSet
PrefixSet: git-backed CIDR files via gitshallow, refreshed every 47 min.
DomainSet: CSV of static IPs/prefixes + hostnames resolved every 5 min;
retains stale IPs on resolve failure. Both use atomic-swapped ipcohort.Cohort
for lock-free reads.

replace directives in go.mod point to local siblings; remove after tagging.
2026-05-22 11:16:33 -04:00

25 lines
692 B
Modula-2

module github.com/therootcompany/golib/net/ipgate
go 1.26.0
require (
github.com/therootcompany/golib/net/dnsresolver v0.0.0
github.com/therootcompany/golib/net/gitshallow v0.0.0
github.com/therootcompany/golib/net/ipcohort v0.0.0
)
require (
github.com/miekg/dns v1.1.69 // indirect
golang.org/x/mod v0.30.0 // indirect
golang.org/x/net v0.47.0 // indirect
golang.org/x/sync v0.20.0 // indirect
golang.org/x/sys v0.38.0 // indirect
golang.org/x/tools v0.39.0 // indirect
)
replace (
github.com/therootcompany/golib/net/dnsresolver => ../dnsresolver
github.com/therootcompany/golib/net/gitshallow => ../gitshallow
github.com/therootcompany/golib/net/ipcohort => ../ipcohort
)