Documentation ¶
Index ¶
Constants ¶
View Source
const (
// URL the API address for Duck DNS.
URL = "https://www.duckdns.org/update?domains=%s&token=%s&%s"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSProvider ¶
type DNSProvider struct {
// contains filtered or unexported fields
}
DNSProvider struct.
func (*DNSProvider) Init ¶
func (provider *DNSProvider) Init(conf *settings.Settings)
Init passes DNS settings and store it to the provider instance.
func (*DNSProvider) UpdateIP ¶
func (provider *DNSProvider) UpdateIP(domainName, subdomainName, ip string) error
Click to show internal directories.
Click to hide internal directories.