This commit is contained in:
unknown
2026-02-04 20:27:13 +08:00
commit 3b042d1dad
9410 changed files with 1488147 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
package gname
type BaseResponse struct {
Code int `json:"code"` // 1: 成功, -1: 失败
Msg string `json:"msg"` // 返回描述
Data interface{} `json:"data"` // 返回数据
}

View File

@@ -0,0 +1,9 @@
package gname
type DomainsResponse []Domain
type Domain struct {
Id string `json:"id"`
Name string `json:"name"`
Status string `json:"status"`
}

View File

@@ -0,0 +1,12 @@
package gname
type RecordsResponse []Record
type Record struct {
Id string `json:"id"`
Name string `json:"name"`
Type string `json:"type"`
Value string `json:"value"`
TTL int32 `json:"ttl"`
Route string `json:"route"` // 线路
}

View File

@@ -0,0 +1 @@
package gname