Documentation
¶
Overview ¶
Package geoiptest writes small GeoIP databases for tests, so no test needs a real one.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CityDatabase ¶
CityDatabase returns a City database, in the DB-IP City Lite layout, that places every IPv4 and IPv6 address at at. It fails tb when the database cannot be built.
func WriteCityDatabase ¶
WriteCityDatabase writes CityDatabase for at to path. It fails tb when the file cannot be written.
Types ¶
Click to show internal directories.
Click to hide internal directories.