mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-23 06:50:25 +08:00
优化DNSPod和Alidns相关代码
This commit is contained in:
17
internal/dnsclients/dnspod/response_domain_list.go
Normal file
17
internal/dnsclients/dnspod/response_domain_list.go
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
|
||||
package dnspod
|
||||
|
||||
type DomainListResponse struct {
|
||||
BaseResponse
|
||||
|
||||
Info struct {
|
||||
DomainTotal int `json:"domain_total"`
|
||||
AllTotal int `json:"all_total"`
|
||||
MineTotal int `json:"mine_total"`
|
||||
} `json:"info"`
|
||||
|
||||
Domains []struct {
|
||||
Name string `json:"name"`
|
||||
} `json:"domains"`
|
||||
}
|
||||
Reference in New Issue
Block a user