Versions in this module Expand all Collapse all v1 v1.1.0 Mar 26, 2025 Changes in this version + type APIStatus struct + Reason string + Status string type Client + func (c *Client) GetZonefile(ctx context.Context, zone string) (string, error) + func (c *Client) GetZones(ctx context.Context) ([]DNSZone, error) + type DNSZone string v1.0.0 Oct 4, 2023 Changes in this version + type Client struct + ApiUrl *url.URL + func New(apiUrl, email, password string) *Client + func (c *Client) AddHost(ctx context.Context, name string, recordType RecordType, value string) error + func (c *Client) DeleteHost(ctx context.Context, name string, recordType RecordType, value string) error + func (c *Client) GetHosts(ctx context.Context, name string, recordType RecordType) ([]DNSRecord, error) + func (c *Client) UpdateHost(ctx context.Context, name string, recordType RecordType, value string) error + type DNSRecord struct + QualifiedName string + RecordType RecordType + SortOrder struct{ ... } + Value string + Zone string + type RecordType string + const A + const AAAA + const CAA + const CNAME + const MX + const NS + const SRV + const SSHFP + const TXT