Versions in this module Expand all Collapse all v4 v4.9.11 Feb 21, 2023 Changes in this version + type APIRequest struct + Auth string + Command string + Data interface{} + User string + type Client struct + HTTPClient *http.Client + func NewClient(username string, password string) *Client + func (c *Client) AddRecord(ctx context.Context, zone string, record DNSRow) error + func (c *Client) Commit(ctx context.Context, zone string) error + func (c *Client) DeleteRecord(ctx context.Context, zone string, recordID string) error + func (c *Client) GetRecords(ctx context.Context, zone string) ([]DNSRow, error) + func (c *Client) Ping(ctx context.Context) error + type DNSRow struct + Data string + ID string + Name string + TTL json.Number + Type string + type DNSRowRequest struct + Data string + Domain string + ID string + Name string + TTL json.Number + Type string + type ResponsePayload struct + Code int + Command string + Data json.RawMessage + Result string + SvTRID string + Timestamp int