Versions in this module Expand all Collapse all v4 v4.0.2 Jun 12, 2023 Changes in this version + type Client struct + HTTPClient *http.Client + func NewClient(apiKey, secretKey string) (*Client, error) + func (c *Client) AddTxtRecord(ctx context.Context, info *Data, fqdn, value string, ttl int) error + func (c *Client) FindTxtRecord(ctx context.Context, zoneID, fqdn string) (*TXTRecord, error) + func (c *Client) GetDomainInformation(ctx context.Context, fqdn string) (*Data, error) + func (c *Client) RemoveTxtRecord(ctx context.Context, recordID, zoneID string) error + type Data struct + Domain string + ID string + TTL int + type TXTRecord struct + Host string + ID int + LineID int + RecordID string + TTL int + Type string + Value string