Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeoFeedRow ¶
type GeoFeedRow struct { IPNet *net.IPNet CIDR string LtdCode string ISO3166 string City string ASN string IPWhois string }
func FindGeoFeedRow ¶
func FindGeoFeedRow(ipStr string, rows []GeoFeedRow) (GeoFeedRow, bool)
func GetGeoFeed ¶
func GetGeoFeed(ip string) (GeoFeedRow, bool)
func ReadGeoFeed ¶
func ReadGeoFeed() ([]GeoFeedRow, error)
Click to show internal directories.
Click to hide internal directories.