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(apiKey string) *Client + func (c *Client) CreateRecord(ctx context.Context, domain string, record DNSRecord) (*DNSRecord, error) + func (c *Client) DeleteRecord(ctx context.Context, domain, id string) error + func (c *Client) GetTxtRecord(ctx context.Context, domain, name, value string) (*DNSRecord, error) + type DNSRecord struct + ID string + IPFilterMode *IPFilterMode + Name string + TTL int + Type string + UpstreamHTTPS string + Value any + type IPFilterMode struct + Count string + GeoFilter string + Order string + type TXTRecordValue struct + Text string