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 + const DefaultRimuHostingBaseURL + const DefaultZonomiBaseURL + const DeleteAction + const QueryAction + const SetAction + type APIError struct + Text string + XMLName xml.Name + func (a APIError) Error() string + type Action struct + Action string + Host string + Records []Record + Type string + type ActionParameter struct + Action string + Name string + Priority int + TTL int + Type string + Value string + func NewAddRecordAction(domain, content string, ttl int) ActionParameter + func NewDeleteRecordAction(domain, content string) ActionParameter + type Actions struct + Action Action + type Client struct + BaseURL string + HTTPClient *http.Client + func NewClient(apiKey string) *Client + func (c Client) DoActions(ctx context.Context, actions ...ActionParameter) (*DNSAPIResult, error) + func (c Client) FindTXTRecords(ctx context.Context, domain string) ([]Record, error) + type DNSAPIResult struct + Actions Actions + IsOk string + ResultCounts ResultCounts + XMLName xml.Name + type Record struct + Content string + Name string + Priority string + TTL string + Type string + type ResultCounts struct + Added string + Changed string + Deleted string + Unchanged string