Documentation ¶
Overview ¶
Package geoipembed contains embedded db files for GeoIP.
The GeoIPReader can be used as tor.StartConf.GeoIPFileReader.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeoIPBytes ¶
GeoIPBytes returns the full byte slice of the geo IP file.
func GeoIPReader ¶
func GeoIPReader(ipv6 bool) (io.ReadCloser, error)
GeoIPReader returns a ReadCloser for GeoIPBytes. Close does nothing.
func LastUpdated ¶
LastUpdated is the mod time of the embedded geoip files.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.