Versions in this module Expand all Collapse all v4 v4.15.1 Feb 17, 2024 Changes in this version + type Client struct + BaseURL string + HTTPClient *http.Client + func NewClient(apiKey string) *Client + func (c *Client) AddTXTRecord(ctx context.Context, zoneID, version int, name, value string, ttl int) error + func (c *Client) CloneZone(ctx context.Context, zoneID int, name string) (int, error) + func (c *Client) DeleteZone(ctx context.Context, zoneID int) error + func (c *Client) GetZoneID(ctx context.Context, domain string) (int, error) + func (c *Client) NewZoneVersion(ctx context.Context, zoneID int) (int, error) + func (c *Client) SetZone(ctx context.Context, domain string, zoneID int) error + func (c *Client) SetZoneVersion(ctx context.Context, zoneID, version int) error + type RPCError struct + FaultCode int + FaultString string + func (e RPCError) Error() string