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(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