Documentation ¶
Index ¶
Constants ¶
View Source
const ( APIBaseURL = "https://api.mythic-beasts.com/dns/v2" AuthBaseURL = "https://auth.mythic-beasts.com/login" )
Default API endpoints.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { APIEndpoint *url.URL AuthEndpoint *url.URL HTTPClient *http.Client // contains filtered or unexported fields }
Client the Mythic Beasts API client.
func (*Client) CreateAuthenticatedContext ¶
func (*Client) CreateTXTRecord ¶
CreateTXTRecord creates a TXT record. https://www.mythic-beasts.com/support/api/dnsv2#ep-get-zoneszonerecords
func (*Client) RemoveTXTRecord ¶
RemoveTXTRecord removes a TXT records. https://www.mythic-beasts.com/support/api/dnsv2#ep-delete-zoneszonerecords
Click to show internal directories.
Click to hide internal directories.