Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (Client) CreateDNSRecord ¶
func (c Client) CreateDNSRecord(record DNSRecord) (*CreateDNSRecordResponse, error)
func (Client) DeleteDNSRecord ¶
func (c Client) DeleteDNSRecord(id string) (*DeleteRecordResponse, error)
type CreateDNSRecordRequest ¶
type CreateDNSRecordRequest struct {
Data Data `json:"data"`
}
type CreateDNSRecordResponse ¶
type DeleteRecordResponse ¶
type DeleteRecordResponse struct { Data struct { ID string `json:"id"` Type string `json:"type"` Attributes struct { JobType string `json:"job_type"` Status string `json:"status"` } `json:"attributes"` Links struct { Self string `json:"self"` Object string `json:"object"` } `json:"links"` } `json:"data"` }
type GetJobResponse ¶
type GetJobResponse struct { Data struct { ID string `json:"id"` Type string `json:"type"` Attributes struct { JobType string `json:"job_type"` Status string `json:"status"` } `json:"attributes"` Links struct { Self string `json:"self"` Object string `json:"object"` } `json:"links"` } `json:"data"` }
Click to show internal directories.
Click to hide internal directories.