域名解析支持华为云解析DNS

This commit is contained in:
GoEdgeLab
2021-08-04 22:14:54 +08:00
parent 22176739be
commit 862fd6f464
11 changed files with 1727 additions and 0 deletions

View 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"`
}