Versions in this module Expand all Collapse all v0 v0.6.2 Jan 13, 2019 Changes in this version + func IsEqualIPNodes(expected, node IPNode) error + func PlusOne(a net.IP) net.IP + type GeoDataset struct + IP4Nodes []IPNode + IP6Nodes []IPNode + LocationNodes []LocationNode + func LoadGeoLite2(zip *zip.Reader) (*GeoDataset, error) + type IPNode struct + IPAddressHigh net.IP + IPAddressLow net.IP + Latitude float64 + LocationIndex int + Longitude float64 + PostalCode string + func LoadIPListGLite1(reader io.Reader, idMap map[int]int, glite1 []gLite1HelpNode) ([]IPNode, error) + func LoadIPListGLite2(reader io.Reader, idMap map[int]int) ([]IPNode, error) + type LocationNode struct + CityName string + ContinentCode string + CountryCode string + CountryName string + GeonameID int + MetroCode int64 + RegionCode string + RegionName string + func LoadLocListGLite1(reader io.Reader) ([]LocationNode, []gLite1HelpNode, map[int]int, error) + func LoadLocListGLite2(reader io.Reader) ([]LocationNode, map[int]int, error)