Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (Client) CreateHostRecord ¶
func (c Client) CreateHostRecord(domain string, record RecordRequest) (*Data, error)
CreateHostRecord creates a record for a domain. https://docs.userapi.epik.com/v2/#/DNS%20Host%20Records/createHostRecord
func (Client) GetDNSRecords ¶
GetDNSRecords gets DNS records for a domain. https://docs.userapi.epik.com/v2/#/DNS%20Host%20Records/getDnsRecord
func (Client) RemoveHostRecord ¶
RemoveHostRecord removes a record for a domain. https://docs.userapi.epik.com/v2/#/DNS%20Host%20Records/removeHostRecord
type CreateHostRecords ¶
type CreateHostRecords struct {
Payload RecordRequest `json:"create_host_records_payload"`
}
type GetDNSRecordResponse ¶
type RecordRequest ¶
type SetHostRecords ¶
type SetHostRecords struct {
Payload []RecordRequest `json:"set_host_records_payload"`
}
Click to show internal directories.
Click to hide internal directories.