improve: 使用标准项目结构
This commit is contained in:
19
internal/pkg/dns/aliyun/models.go
Normal file
19
internal/pkg/dns/aliyun/models.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package aliyun
|
||||
|
||||
type Response struct {
|
||||
Code string `json:"code"`
|
||||
Message string `json:"message"`
|
||||
}
|
||||
|
||||
type DomainStatus struct {
|
||||
DomainName string `json:"DomainName"`
|
||||
RecordId string `json:"RecordId"`
|
||||
Value string `json:"Value"`
|
||||
}
|
||||
|
||||
type DomainStatusRes struct {
|
||||
TotalCount uint `json:"TotalCount"`
|
||||
DomainRecords struct {
|
||||
Record []DomainStatus `json:"Record"`
|
||||
} `json:"DomainRecords"`
|
||||
}
|
||||
Reference in New Issue
Block a user