package
0.0.0-20230703051304-b7cc281219d6
Repository: https://github.com/cybozu-go/nginx-i2c.git
Documentation: pkg.go.dev

# Functions

AppendAllRIRSubnets uses RIR entries to add missing records to the MaxMind database.
CountrySliceToMap converts a slice to a map for faster lookups.
GetDBReader opens the mmdb file.
GetMMDBFile extracts the mmdb file.
GetMMDBSubnets extracts subnets from the given MaxMind database.
GetRIRFiles downloads all RIR files concurrently and returns the list of downloaded files.
WriteI2C writes the IP-to-coutnry mappings to file.

# Structs

Record describes a MaxMind DB record entry with only Country fields.