Initial commit (code only without large binaries)

This commit is contained in:
robin
2026-02-15 18:58:44 +08:00
commit 35df75498f
9442 changed files with 1495866 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
package dnscom
type CreateRecordResponse struct {
Code int `json:"code"`
Message string `json:"message"`
Data struct {
DomainID int64 `json:"domainID"`
RecordID int64 `json:"recordID"`
Record string `json:"record"`
Type string `json:"type"`
TTL int `json:"TTL"`
State int `json:"state"`
} `json:"data"`
}

View File

@@ -0,0 +1,17 @@
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
package dnscom
type DomainListResponse struct {
Code int `json:"code"`
Message string `json:"message"`
Data struct {
Data []struct {
Domains string `json:"domains"`
DomainsID string `json:"domainsID"`
State int `json:"state"`
} `json:"data"`
Page int `json:"page"`
PageCount int `json:"pageCount"`
} `json:"data"`
}

View File

@@ -0,0 +1,17 @@
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
package dnscom
type DomainSearchResponse struct {
Code int `json:"code"`
Message string `json:"message"`
Data struct {
Data []struct {
Domains string `json:"domains"`
DomainsID string `json:"domainsID"`
State int `json:"state"`
} `json:"data"`
Page int `json:"page"`
PageCount int `json:"pageCount"`
} `json:"data"`
}

View File

@@ -0,0 +1,12 @@
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
package dnscom
type IPAreaViewListResponse struct {
Code int `json:"code"`
Message string `json:"message"`
Data []struct {
Name string `json:"Name"`
ViewID int64 `json:"viewID"`
} `json:"data"`
}

View File

@@ -0,0 +1,12 @@
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
package dnscom
type IPISPViewListResponse struct {
Code int `json:"code"`
Message string `json:"message"`
Data []struct {
Name string `json:"Name"`
ViewID int64 `json:"viewID"`
} `json:"data"`
}

View File

@@ -0,0 +1,24 @@
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
package dnscom
type RecordListResponse struct {
Code int `json:"code"`
Message string `json:"message"`
Data struct {
Data []struct {
RecordID int `json:"recordID"`
Record string `json:"record"`
Type string `json:"type"`
State int `json:"state"`
ViewID int64 `json:"viewID"`
AreaViewID int64 `json:"areaViewID"`
ISPViewID int64 `json:"ISPViewID"`
Value string `json:"value"`
TTL int `json:"TTL"`
} `json:"data"`
Page int `json:"page"`
PageSize int `json:"pageSize"`
PageCount int `json:"pageCount"`
} `json:"data"`
}

View File

@@ -0,0 +1,8 @@
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
package dnscom
type RecordModifyResponse struct {
Code int `json:"code"`
Message string `json:"message"`
}

View File

@@ -0,0 +1,8 @@
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
package dnscom
type RecordRemoveResponse struct {
Code int `json:"code"`
Message string `json:"message"`
}