Versions in this module Expand all Collapse all v1 v1.0.6 May 5, 2023 v1.0.5 Dec 30, 2021 v1.0.4 Jun 3, 2021 Changes in this version + type Client struct + BaseURL string + HTTPClient *http.Client + func NewClient(apiUsername, apiToken string) *Client + func (d *Client) CreateRecord(zone DNSZone, newRecord DNSRecord) (*DNSRecord, error) + func (d *Client) DeleteRecord(record *DNSRecord) error + func (d *Client) ListZones() ([]DNSZone, error) + type DNSRecord struct + Content string + ID int + Name string + TTL int + Type string + ZoneID int + type DNSZone struct + AliasesCount int + ForwardsCount int + ID int + Name string + QueriesCount int + RecordsCount int + RedirectsCount int + Synced bool + TemplateID int