Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeoData ¶
type GeoData struct { IsoCode string // Country ISO-3166 code CountryName string // The full country name. Continent string // The two character continent that the country is located. EX: EU Region string // The two character region. For US, this is state. For Canada, providence, for Chile this is a region, etc. City string // The city name if supported by the database. PostalCode string // The postal code if supported by the database. Latitude float64 // The latitude if supported by the database. Longitude float64 // The longitude if supported by the database. }
type Ip2Location ¶
type Ip2Location struct {
// contains filtered or unexported fields
}
func (*Ip2Location) Close ¶
func (i2l *Ip2Location) Close() error
Click to show internal directories.
Click to hide internal directories.