Update MmdbQuery.go
parent
39e72a86d3
commit
31dbc2449a
|
|
@ -7,10 +7,10 @@ import (
|
||||||
|
|
||||||
type IpInfo struct {
|
type IpInfo struct {
|
||||||
Ip string `json:"ip"`
|
Ip string `json:"ip"`
|
||||||
CountryIsoCode string `json:"Country_Iso_Code"`
|
CountryIsoCode string `json:"country_iso_code"`
|
||||||
CountryName string `json:"Country_Name"`
|
CountryName string `json:"country_name"`
|
||||||
City string `json:"City"`
|
City string `json:"city"`
|
||||||
TimeZone string `json:"Time_Zone"`
|
TimeZone string `json:"time_zone"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func MmdbQueryIP(ip string) IpInfo {
|
func MmdbQueryIP(ip string) IpInfo {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue