Versions in this module Expand all Collapse all v4 v4.17.6 Jul 4, 2024 v4.17.5 Jul 4, 2024 v4.17.4 Jul 4, 2024 Changes in this version + type Client struct + HTTPClient *http.Client + func NewClient(apiUsername, apiToken string) *Client + func (c *Client) CreateRecord(ctx context.Context, zone DNSZone, newRecord DNSRecord) (*DNSRecord, error) + func (c *Client) DeleteRecord(ctx context.Context, record *DNSRecord) error + func (c *Client) ListZones(ctx context.Context) ([]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