package
0.0.2
Repository: https://github.com/wacky6/cf-ddns-go.git
Documentation: pkg.go.dev

# Functions

DetectAddress picks the appropriate IP detection method based on `detector`.
DetectByInterface finds the most-likely public IP address as a string, by inspecting addresses assigned to OS network interfaces.
GetAddressType returns the AddressType of the given IP.
Resolve resolves a DNS `recordType` dns.Type enum for `name` by querying servers.
ResolveOs returns a DNS `recordType` dns.Type enum for `name` by using operating system's resolver.

# Constants

IP4 represents IPv4 address.
IP6 represents IPv6 address.

# Type aliases

AddressType denotes the type of IP address.