Versions in this module Expand all Collapse all v4 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(apiKey string) *Client + func (c *Client) CreateRecord(ctx context.Context, record DNSRecord) error + func (c *Client) DeleteRecord(ctx context.Context, recordID string) error + func (c *Client) GetTxtRecord(ctx context.Context, name, value, zoneID string) (*DNSRecord, error) + func (c *Client) GetZoneID(ctx context.Context, domain string) (string, error) + type DNSRecord struct + ID string + Name string + Priority int + TTL int + Type string + Value string + ZoneID string + type DNSRecords struct + Records []DNSRecord + type Meta struct + Pagination Pagination + type Pagination struct + LastPage int + Page int + PerPage int + TotalEntries int + type Zone struct + ID string + Name string + type Zones struct + Meta Meta + Zones []Zone