Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
type Client ¶
func (Client) AddRecord ¶
AddRecord Adds a DNS record. POST https://api30.yandex.net/directory/v1/org/{orgId}/domains/{domain}/dns https://yandex.ru/dev/api360/doc/ref/DomainDNSService/DomainDNSService_Create.html
func (Client) DeleteRecord ¶
DeleteRecord Deletes a DNS record. DELETE https://api360.yandex.net/directory/v1/org/{orgId}/domains/{domain}/dns/{recordId} https://yandex.ru/dev/api360/doc/ref/DomainDNSService/DomainDNSService_Delete.html
type Record ¶
type Record struct { ID int64 `json:"recordId,omitempty"` Address string `json:"address,omitempty"` Exchange string `json:"exchange,omitempty"` Flag int64 `json:"flag,omitempty"` Name string `json:"name,omitempty"` Port int64 `json:"port,omitempty"` Preference int64 `json:"preference,omitempty"` Priority int64 `json:"priority,omitempty"` Tag string `json:"tag,omitempty"` Target string `json:"target,omitempty"` Text string `json:"text,omitempty"` TTL int `json:"ttl,omitempty"` Type string `json:"type,omitempty"` Value string `json:"value,omitempty"` Weight int64 `json:"weight,omitempty"` }
Click to show internal directories.
Click to hide internal directories.