Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct {
Interface string `json:"interface"`
IP string `json:"ip"`
Network string `json:"network"`
IsIPv6 bool `json:"is_ipv6"`
}
Address represents an IP address associated with a network interface
type Discovery ¶
Discovery holds information about discovered IP addresses
type PublicIPResponse ¶
type PublicIPResponse struct {
IP string `json:"ip"`
Country string `json:"country"`
City string `json:"city"`
}
PublicIPResponse represents the response from ifconfig.co/json
Click to show internal directories.
Click to hide internal directories.