duck

package
v0.0.0-...-f3e3a65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL