Versions in this module Expand all Collapse all v4 v4.18.1 Sep 18, 2024 Changes in this version + const DefaultBaseURL + const SandboxBaseURL + func GetClientIP(ctx context.Context, client *http.Client, debug bool) (addr string, err error) + type Client struct + BaseURL string + HTTPClient *http.Client + func NewClient(apiUser string, apiKey string, clientIP string) *Client + func (c *Client) GetHosts(ctx context.Context, sld, tld string) ([]Record, error) + func (c *Client) SetHosts(ctx context.Context, sld, tld string, hosts []Record) error + type Record struct + Address string + MXPref string + Name string + TTL string + Type string