Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddResponse ¶
type AddResponse struct { BaseResponse Domain string `json:"domain,omitempty"` Record *Record `json:"record,omitempty"` }
type BaseResponse ¶
func (BaseResponse) GetError ¶
func (r BaseResponse) GetError() string
func (BaseResponse) GetSuccess ¶
func (r BaseResponse) GetSuccess() string
type ListResponse ¶
type ListResponse struct { BaseResponse Domain string `json:"domain,omitempty"` Records []Record `json:"records,omitempty"` }
type Record ¶
type Record struct { ID int `json:"record_id,omitempty" url:"record_id,omitempty"` Domain string `json:"domain,omitempty" url:"domain,omitempty"` SubDomain string `json:"subdomain,omitempty" url:"subdomain,omitempty"` FQDN string `json:"fqdn,omitempty" url:"fqdn,omitempty"` TTL int `json:"ttl,omitempty" url:"ttl,omitempty"` Type string `json:"type,omitempty" url:"type,omitempty"` Content string `json:"content,omitempty" url:"content,omitempty"` }
type RemoveResponse ¶
type RemoveResponse struct { BaseResponse Domain string `json:"domain,omitempty"` RecordID int `json:"record_id,omitempty"` }
Click to show internal directories.
Click to hide internal directories.