Documentation ¶
Overview ¶
Package client contains the http client for the GoDaddy API
Package client contains the http client for the GoDaddy API ¶
Package client contains the http client for the GoDaddy API ¶
Package client contains the http client for the GoDaddy API ¶
Package client contains the http client for the GoDaddy API ¶
Package client contains the http client for the GoDaddy API
Index ¶
- type Client
- func (c *Client) AddDNSRecord(domain string, dnsType string, dnsName string, dnsValue string, dnsTTL int, ...) error
- func (c *Client) GetDNSRecords(domain string, dnsType string, dnsName string) ([]types.Record, error)
- func (c *Client) GetDomains(statusGroups []string, status string) ([]types.Domain, error)
- func (c *Client) RemoveDNSRecords(domain string, dnsType string, dnsName string) error
- func (c *Client) UpdateDNSRecord(domain string, dnsType string, dnsName string, dnsValue string, dnsTTL int, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { BaseURL *url.URL APIKey string APISecret string UserAgent string HTTPClient *http.Client }
Client is the HTTPClient for the GoDaddy API
func CreateClient ¶
CreateClient creates an HTTPClient for the GoDaddy API
func (*Client) AddDNSRecord ¶
func (c *Client) AddDNSRecord(domain string, dnsType string, dnsName string, dnsValue string, dnsTTL int, dnsPrority int) error
AddDNSRecord adds the indicated domain's DNS entriy
func (*Client) GetDNSRecords ¶
func (c *Client) GetDNSRecords(domain string, dnsType string, dnsName string) ([]types.Record, error)
GetDNSRecords retrieves the indicated domain's DNS entries info
func (*Client) GetDomains ¶
GetDomains retrieves the domains from the GoDaddy API
func (*Client) RemoveDNSRecords ¶
RemoveDNSRecords removes the indicated domain's DNS entries by type and name
Click to show internal directories.
Click to hide internal directories.