Documentation ¶
Index ¶
Constants ¶
View Source
const (
URL = "https://api.ipgeolocation.io/ipgeo"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPGeolocation ¶
type IPGeolocation struct {
APIKey string
}
func New ¶
func New(apiKey string) *IPGeolocation
func (*IPGeolocation) GetLocation ¶
func (i *IPGeolocation) GetLocation() (geocoder.Location, error)
Click to show internal directories.
Click to hide internal directories.