Documentation
¶
Index ¶
- type BaseResponse
- type CreateNSRecordResponse
- type FindAllNSRoutesResponse
- type FindDomainWithNameResponse
- type FindNSRecordWithNameAndTypeResponse
- type FindNSRecordsWithNameAndTypeResponse
- type GetAPIAccessToken
- type ListNSDomainsResponse
- type ListNSRecordsResponse
- type ResponseInterface
- type SuccessResponse
- type UpdateNSRecordResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseResponse ¶
func (*BaseResponse) Error ¶
func (this *BaseResponse) Error() error
func (*BaseResponse) IsValid ¶
func (this *BaseResponse) IsValid() bool
type CreateNSRecordResponse ¶
type CreateNSRecordResponse struct {
BaseResponse
Data struct {
NSRecordId int64 `json:"nsRecordId"`
} `json:"data"`
}
type FindAllNSRoutesResponse ¶
type FindAllNSRoutesResponse struct {
BaseResponse
Data struct {
NSRoutes []struct {
Name string `json:"name"`
Code string `json:"code"`
} `json:"nsRoutes"`
} `json:"data"`
}
type FindDomainWithNameResponse ¶
type FindDomainWithNameResponse struct {
BaseResponse
Data struct {
NSDomain struct {
Id int64 `json:"id"`
Name string `json:"name"`
}
} `json:"data"`
}
type FindNSRecordWithNameAndTypeResponse ¶
type FindNSRecordWithNameAndTypeResponse struct {
BaseResponse
Data struct {
NSRecord struct {
Id int64 `json:"id"`
Name string `json:"name"`
Type string `json:"type"`
Value string `json:"value"`
TTL int32 `json:"ttl"`
NSRoutes []struct {
Name string `json:"name"`
Code string `json:"code"`
} `json:"nsRoutes"`
} `json:"nsRecord"`
}
}
type FindNSRecordsWithNameAndTypeResponse ¶ added in v0.5.8
type FindNSRecordsWithNameAndTypeResponse struct {
BaseResponse
Data struct {
NSRecords []struct {
Id int64 `json:"id"`
Name string `json:"name"`
Type string `json:"type"`
Value string `json:"value"`
TTL int32 `json:"ttl"`
NSRoutes []struct {
Name string `json:"name"`
Code string `json:"code"`
} `json:"nsRoutes"`
} `json:"nsRecords"`
}
}
type GetAPIAccessToken ¶
type GetAPIAccessToken struct {
BaseResponse
Data struct {
Token string `json:"token"`
ExpiresAt int64 `json:"expiresAt"`
} `json:"data"`
}
type ListNSDomainsResponse ¶
type ListNSDomainsResponse struct {
BaseResponse
Data struct {
NSDomains []struct {
Id int64 `json:"id"`
Name string `json:"name"`
IsOn bool `json:"isOn"`
IsDeleted bool `json:"isDeleted"`
} `json:"nsDomains"`
} `json:"data"`
}
type ListNSRecordsResponse ¶
type ListNSRecordsResponse struct {
BaseResponse
Data struct {
NSRecords []struct {
Id int64 `json:"id"`
Name string `json:"name"`
Value string `json:"value"`
TTL int32 `json:"ttl"`
Type string `json:"type"`
NSRoutes []struct {
Name string `json:"name"`
Code string `json:"code"`
} `json:"nsRoutes"`
} `json:"nsRecords"`
} `json:"data"`
}
type ResponseInterface ¶
type SuccessResponse ¶
type SuccessResponse struct {
BaseResponse
}
type UpdateNSRecordResponse ¶
type UpdateNSRecordResponse struct {
BaseResponse
}
Source Files
¶
- response_base.go
- response_create_ns_record.go
- response_find_all_ns_routes.go
- response_find_ns_domain_with_name.go
- response_find_ns_record_with_name_and_type.go
- response_find_ns_records_with_name_and_type.go
- response_get_api_access_token.go
- response_interface.go
- response_list_ns_domains.go
- response_list_ns_records.go
- response_success.go
- response_update_ns_record.go
Click to show internal directories.
Click to hide internal directories.