Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Record ¶
type Record struct { RecordID string `json:"ID,omitempty"` Subdomain string `json:"name,omitempty"` TTL string `json:"ttl,omitempty"` Type string `json:"rdtype,omitempty"` IP string `json:"rdata,omitempty"` UpdatedAt string `json:"changed_date,omitempty"` Comment string `json:"author_comment,omitempty"` }
type Request ¶
type Request struct {
Body RequestBody `json:"request"`
}
type RequestBody ¶
type RequestBody struct { Login string `json:"user"` Secret string `json:"auth"` Command string `json:"command"` Data RequestData `json:"data"` }
type RequestData ¶
type ResponseBody ¶
type ResponseRow ¶
type ResponseRow struct {
Records []Record `json:"row,omitempty"`
}
type TokenResponse ¶ added in v1.0.0
type TokenResponse struct {
Token string `json:"token"`
}
type WApiResponse ¶
type WApiResponse struct {
Body ResponseBody `json:"response"`
}
Click to show internal directories.
Click to hide internal directories.