Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) CreateRecord(ctx context.Context, domain *Domain, record *Record) error
- func (c *Client) DeleteRecord(ctx context.Context, record Record) error
- func (c *Client) GetDomain(ctx context.Context, authZone string) (*Domain, error)
- func (c *Client) GetRecords(ctx context.Context, domain *Domain, recordName, recordType string) (*[]Record, error)
- type Domain
- type Record
Constants ¶
View Source
const ( DefaultSandboxBaseURL = "https://api.sandbox.dnsmadeeasy.com/V2.0" DefaultProdBaseURL = "https://api.dnsmadeeasy.com/V2.0" )
Default API endpoints.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { BaseURL *url.URL HTTPClient *http.Client // contains filtered or unexported fields }
Client DNSMadeEasy client.
func (*Client) CreateRecord ¶
CreateRecord creates a TXT records.
func (*Client) DeleteRecord ¶
DeleteRecord deletes a TXT records.
Click to show internal directories.
Click to hide internal directories.