Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
type APIError struct {
Error ErrorContent `json:"error"`
}
type AuthResponse ¶
type AuthResponse struct {
Auth Auth `json:"auth,omitempty"`
}
type Authorization ¶
type Client ¶
Client handles all communication with CloudDNS API.
func NewClient ¶
NewClient returns a Client instance configured to handle CloudDNS API communication.
func (*Client) CreateAuthenticatedContext ¶
type DomainInfo ¶
type ErrorContent ¶
type ErrorContent struct { Code int `json:"code,omitempty"` Message string `json:"message,omitempty"` }
func (ErrorContent) Error ¶
func (e ErrorContent) Error() string
type Record ¶
type Record struct { ID string `json:"id,omitempty"` DomainID string `json:"domainId,omitempty"` Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` Type string `json:"type,omitempty"` }
Record represents a DNS record.
type Search ¶
type Search struct { Name string `json:"name,omitempty"` Operator string `json:"operator,omitempty"` Type string `json:"type,omitempty"` Value string `json:"value,omitempty"` }
Search used for searches in the CloudDNS API.
type SearchQuery ¶
type SearchResponse ¶
Click to show internal directories.
Click to hide internal directories.