Documentation
¶
Index ¶
Constants ¶
View Source
const IPLookupAddress = "https://api.ipify.org"
Variables ¶
View Source
var ErrRecordNotFound = errors.New("requested dns record was not found")
Functions ¶
This section is empty.
Types ¶
type ErrInvalidIP ¶
type ErrInvalidIP struct {
IP string
}
func (ErrInvalidIP) Error ¶
func (e ErrInvalidIP) Error() string
type ErrStatusNotOK ¶
type ErrStatusNotOK struct {
// contains filtered or unexported fields
}
func (ErrStatusNotOK) Error ¶
func (e ErrStatusNotOK) Error() string
type IPLookup ¶
type IPLookup struct {
// contains filtered or unexported fields
}
func NewIPLookup ¶
Click to show internal directories.
Click to hide internal directories.