Versions in this module Expand all Collapse all v4 v4.15.1 Feb 17, 2024 Changes in this version + const DefaultBaseURL + type Client struct + BaseURL string + HTTPClient *http.Client + func NewClient(apiUser, apiPassword string) *Client + func (c *Client) AddTXTRecord(ctx context.Context, domain string, subdomain string, ttl int, value string) error + func (c *Client) GetTXTRecords(ctx context.Context, domain string, subdomain string) ([]RecordObj, error) + func (c *Client) RemoveSubdomain(ctx context.Context, domain, subdomain string) error + func (c *Client) RemoveTXTRecord(ctx context.Context, domain string, subdomain string, recordID int) error + type RPCError struct + FaultCode int + FaultString string + func (e RPCError) Error() string + type RecordObj struct + Priority int + Rdata string + RecordID int + TTL int + Type string + func (r *RecordObj) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error