Documentation ¶
Overview ¶
Package ipsb get ip information from https://ip.sb/
Index ¶
Constants ¶
View Source
const (
// IpSbApiUrl https://api.ip.sb
IpSbApiUrl = "https://api.ip.sb"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GeoIpRes ¶
type GeoIpRes struct { Organization string `json:"organization"` Longitude float64 `json:"longitude"` City string `json:"city"` Timezone string `json:"timezone"` Isp string `json:"isp"` Offset int64 `json:"offset"` Region string `json:"region"` Asn int64 `json:"asn"` AsnOrganization string `json:"asn_organization"` Country string `json:"country"` Ip string `json:"ip"` Latitude float64 `json:"latitude"` ContinentCode string `json:"continent_code"` CountryCode string `json:"country_code"` RegionCode string `json:"region_code"` }
Click to show internal directories.
Click to hide internal directories.