Discover Packages
github.com/zulhilmizainuddin/geoip-webservice
models
package
Version:
v0.0.0-...-f85bfd4
Opens a new window with list of versions in this module.
Published: Apr 27, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Error struct {
ErrorMessage string `json:"error_message"`
}
type Geolocation struct {
IPAddress string `json:"ipaddress"`
City string `json:"city"`
Country string `json:"country"`
Latitude float64 `json:"latitude"`
Longitude float64 `json:"longitude"`
}
type IP2Location struct{}
type Retriever interface {
Query(ipaddress string ) interface{}
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.