Documentation ¶
Index ¶
Constants ¶
View Source
const (
// URL the API address for Infomaniak.
URL = "https://%s:%s@infomaniak.com/nic/update?hostname=%s.%s&myip=%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.