Versions in this module Expand all Collapse all v0 v0.4.0 May 27, 2026 Changes in this version type Client + func (c *Client) ListDomains(ctx context.Context) ([]Domain, error) v0.3.0 May 26, 2026 Changes in this version + var ErrEmptyNameservers = errors.New("hover: delegation read returned 0 nameservers (verify field shape)") + type Client struct + UserAgent string + func NewClient(creds Credentials, httpClient *http.Client) (*Client, error) + func (c *Client) CreateRecord(ctx context.Context, domainID string, rec DNSRecord) (*DNSRecord, error) + func (c *Client) DeleteRecord(ctx context.Context, recordID string) error + func (c *Client) GetDomain(ctx context.Context, domain string) (*Domain, error) + func (c *Client) GetDomainDelegation(ctx context.Context, domainName string) (*DomainDelegation, error) + func (c *Client) ListRecords(ctx context.Context, domain string) ([]DNSRecord, error) + func (c *Client) Login(ctx context.Context) error + func (c *Client) SetNameservers(ctx context.Context, domainName string, ns []string) error + func (c *Client) UpdateRecord(ctx context.Context, recordID string, rec DNSRecord) error + type Credentials struct + Password string + TOTPSecret TOTPSecret + Username string + type DNSRecord struct + Content string + ID string + Name string + TTL int + Type string + type Domain struct + ID string + Name string + Records []DNSRecord + type DomainDelegation struct + ID string + Name string + Nameservers []string + type TOTPSecret struct + func ParseBase32(seed string) (TOTPSecret, error) + func (s TOTPSecret) Code() string + func (s TOTPSecret) CodeAt(t int64) string