mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2026-01-06 23:45:47 +08:00
域名解析支持华为云解析DNS
This commit is contained in:
17
internal/dnsclients/huaweidns/response_zones.go
Normal file
17
internal/dnsclients/huaweidns/response_zones.go
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||||
|
||||
package huaweidns
|
||||
|
||||
type ZonesResponse struct {
|
||||
Links struct{} `json:"links"`
|
||||
Zones []struct {
|
||||
Id string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
ZoneType string `json:"zone_type"`
|
||||
Status string `json:"status"`
|
||||
RecordNum int `json:"record_num"`
|
||||
} `json:"zones"`
|
||||
Metadata struct {
|
||||
TotalCount int `json:"total_count"`
|
||||
} `json:"metadata"`
|
||||
}
|
||||
Reference in New Issue
Block a user