Documentation ¶ Index ¶ type GeoData func FromAPI(address ...string) (*GeoData, error) func FromLocal(address string) (*GeoData, error) func Self() (*GeoData, error) func (this *GeoData) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type GeoData ¶ type GeoData struct { IP string `json:"query"` Status string `json:"status"` Country string `json:"country"` Region string `json:"regionName"` City string `json:"city"` Timezone string `json:"timezone"` ISP string `json:"isp"` } func FromAPI ¶ func FromAPI(address ...string) (*GeoData, error) func FromLocal ¶ func FromLocal(address string) (*GeoData, error) func Self ¶ func Self() (*GeoData, error) func (*GeoData) String ¶ func (this *GeoData) String() string Source Files ¶ View all Source files ip-api.go Click to show internal directories. Click to hide internal directories.