golib/.gitignore
AJ ONeal 2f33b5e430
feat(net/geoip): MaxMind GeoLite2 reader with auto-update
Add a Go package for reading MaxMind GeoLite2 City and ASN databases.

  - ParseConf: parses geoipupdate-style config files (AccountID,
    LicenseKey, EditionIDs, DatabaseDirectory)
  - Databases: holds open City + ASN readers; Open() loads both
    editions from a directory, extracting .mmdb from tar.gz in memory
    without writing to disk
  - FindTarGz: resolves cache paths, preferring *_LATEST.tar.gz
  - Lookup: returns city, region, country, ASN, and AS org for an IP
  - DownloadBase constant, TarGzName helper, DefaultConfPaths and
    DefaultCacheDir conveniences

Integration tests verify download and conditional-get freshness.
2026-05-26 22:04:17 -06:00

48 lines
792 B
Plaintext

credentials.tsv
GeoIP.conf
*.mmdb
testdata/
.env
*.env
env.*
!example.env
# Project binaries
dist/
auth/csvauth/cmd/csvauth/csvauth
cmd/auth-proxy/auth-proxy
cmd/httplog/httplog
cmd/jsonl/jsonl
cmd/sendsms/sendsms
cmd/smsapid/smsapid
cmd/smsgwhookstocsv/smsgwhookstocsv
cmd/sql-migrate/sql-migrate
io/transform/gsheet2csv/cmd/gsheet2csv/gsheet2csv
io/transform/gsheet2csv/cmd/gsheet2env/gsheet2env
io/transform/gsheet2csv/cmd/gsheet2tsv/gsheet2tsv
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
# Dependency directories (remove the comment below to include it)
# vendor/
worktrees.git
.DS_Store
.*.sw*
# Agent session files
agents/
LOCAL.md