Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseResponse ¶
type BaseResponse struct {
Success bool `json:"success"`
Errors []struct {
Code int `json:"code"`
Message string `json:"message"`
} `json:"errors"`
}
func (*BaseResponse) IsOk ¶
func (this *BaseResponse) IsOk() bool
func (*BaseResponse) LastError ¶
func (this *BaseResponse) LastError() (code int, message string)
type CreateDNSRecordResponse ¶
type CreateDNSRecordResponse struct {
BaseResponse
}
type DeleteDNSRecordResponse ¶
type DeleteDNSRecordResponse struct {
BaseResponse
}
type GetDNSRecordsResponse ¶
type ResponseInterface ¶
type UpdateDNSRecordResponse ¶
type UpdateDNSRecordResponse struct {
BaseResponse
}
type ZonesResponse ¶
type ZonesResponse struct {
BaseResponse
Result []struct {
Id string `json:"id"`
Name string `json:"name"`
} `json:"result"`
}
Click to show internal directories.
Click to hide internal directories.