Versions in this module Expand all Collapse all v1 v1.2.1 Nov 5, 2018 Changes in this version + type Client struct + BaseURL string + HTTPClient *http.Client + func NewClient(apiKey string, apiSecret string) (*Client, error) + func (c *Client) CreateRecord(domain *Domain, record *Record) error + func (c *Client) DeleteRecord(record Record) error + func (c *Client) GetDomain(authZone string) (*Domain, error) + func (c *Client) GetRecords(domain *Domain, recordName, recordType string) (*[]Record, error) + type Config struct + APIKey string + APISecret string + BaseURL string + HTTPClient *http.Client + PollingInterval time.Duration + PropagationTimeout time.Duration + Sandbox bool + TTL int + func NewDefaultConfig() *Config + type DNSProvider struct + func NewDNSProvider() (*DNSProvider, error) + func NewDNSProviderConfig(config *Config) (*DNSProvider, error) + func NewDNSProviderCredentials(baseURL, apiKey, apiSecret string) (*DNSProvider, error) + func (d *DNSProvider) CleanUp(domainName, token, keyAuth string) error + func (d *DNSProvider) Present(domainName, token, keyAuth string) error + func (d *DNSProvider) Timeout() (timeout, interval time.Duration) + type Domain struct + ID int + Name string + type Record struct + ID int + Name string + SourceID int + TTL int + Type string + Value string Incompatible versions in this module v2.7.2+incompatible Jul 31, 2019