Documentation ¶
Index ¶
- func Api_version() string
- func Close()
- func Open(dbpath string)
- func Printrecord(x IP2Locationrecord)
- type IP2Locationrecord
- func Get_all(ipaddress string) IP2Locationrecord
- func Get_areacode(ipaddress string) IP2Locationrecord
- func Get_city(ipaddress string) IP2Locationrecord
- func Get_country_long(ipaddress string) IP2Locationrecord
- func Get_country_short(ipaddress string) IP2Locationrecord
- func Get_domain(ipaddress string) IP2Locationrecord
- func Get_elevation(ipaddress string) IP2Locationrecord
- func Get_iddcode(ipaddress string) IP2Locationrecord
- func Get_isp(ipaddress string) IP2Locationrecord
- func Get_latitude(ipaddress string) IP2Locationrecord
- func Get_longitude(ipaddress string) IP2Locationrecord
- func Get_mcc(ipaddress string) IP2Locationrecord
- func Get_mnc(ipaddress string) IP2Locationrecord
- func Get_mobilebrand(ipaddress string) IP2Locationrecord
- func Get_netspeed(ipaddress string) IP2Locationrecord
- func Get_region(ipaddress string) IP2Locationrecord
- func Get_timezone(ipaddress string) IP2Locationrecord
- func Get_usagetype(ipaddress string) IP2Locationrecord
- func Get_weatherstationcode(ipaddress string) IP2Locationrecord
- func Get_weatherstationname(ipaddress string) IP2Locationrecord
- func Get_zipcode(ipaddress string) IP2Locationrecord
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IP2Locationrecord ¶
type IP2Locationrecord struct { Country_short string Country_long string Region string City string Isp string Latitude float32 Longitude float32 Domain string Zipcode string Timezone string Netspeed string Iddcode string Areacode string Weatherstationcode string Weatherstationname string Mcc string Mnc string Mobilebrand string Elevation float32 Usagetype string }
func Get_country_short ¶
func Get_country_short(ipaddress string) IP2Locationrecord
get country code
func Get_mobilebrand ¶
func Get_mobilebrand(ipaddress string) IP2Locationrecord
get mobile carrier brand
func Get_weatherstationcode ¶
func Get_weatherstationcode(ipaddress string) IP2Locationrecord
get weather station code
func Get_weatherstationname ¶
func Get_weatherstationname(ipaddress string) IP2Locationrecord
get weather station name
Click to show internal directories.
Click to hide internal directories.