Versions in this module Expand all Collapse all v4 v4.18.1 Sep 18, 2024 Changes in this version + type APIError struct + Message string + StatusCode int + func (a APIError) Error() string + type Client struct + HTTPClient *http.Client + func NewClient(token string) *Client + func (c *Client) AddRRSet(ctx context.Context, zone, recordName, value string, ttl int) error + func (c *Client) DeleteRRSet(ctx context.Context, zone, name string) error + func (c *Client) GetRRSet(ctx context.Context, zone, name string) (RRSet, error) + func (c *Client) GetZone(ctx context.Context, name string) (Zone, error) + type RRSet struct + Records []Records + TTL int + type Records struct + Content []string + type Zone struct + Name string