Update MmdbQuery.go
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user