Versions in this module Expand all Collapse all v4 v4.14.5 Dec 29, 2024 v4.14.4 Oct 15, 2023 v4.14.3 Oct 15, 2023 v4.8.2 Oct 15, 2023 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