Versions in this module Expand all Collapse all v4 v4.18.1 Sep 18, 2024 Changes in this version + type Client struct + BaseURL *url.URL + HTTPClient *http.Client + func NewClient(apiKey string) (*Client, error) + func (c *Client) GetRecords(ctx context.Context, zoneID string, filter *RecordsFilter) ([]Record, error) + func (c *Client) ListZones(ctx context.Context) ([]Zone, error) + func (c *Client) RemoveRecord(ctx context.Context, zoneID, recordID string) error + func (c *Client) ReplaceRecords(ctx context.Context, zoneID string, records []Record) error + type ClientError struct + StatusCode int + func (f ClientError) Error() string + func (f ClientError) Unwrap() error + type CustomerZone struct + ID string + Name string + Records []Record + Type string + type Error struct + Code string + Message string + func (e Error) Error() string + type Record struct + Content string + Disabled bool + ID string + Name string + Priority int + TTL int + Type string + type RecordsFilter struct + RecordName string + RecordType string + Suffix string + type Zone struct + ID string + Name string + Type string