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,18 @@
// Copyright 2024 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
package bunnynet
type DNSZoneResponse struct {
Id int64 `json:"Id"`
Domain string `json:"Domain"`
Records []struct {
Id int64 `json:"Id"`
Type int `json:"Type"`
Ttl int32 `json:"Ttl"`
Value string `json:"Value"`
Name string `json:"Name"`
Weight int32 `json:"Weight"`
LatencyZone string `json:"LatencyZone"`
SmartRoutingType int `json:"SmartRoutingType"`
} `json:"Records"`
}

View File

@@ -0,0 +1,7 @@
// Copyright 2024 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
package bunnynet
type ListDNSZonesResponse struct {
Items []*DNSZoneResponse `json:"Items"`
}

View File

@@ -0,0 +1,14 @@
// Copyright 2024 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
package bunnynet
type RecordResponse struct {
Id int64 `json:"Id"`
Type int `json:"Type"`
Ttl int32 `json:"Ttl"`
Value string `json:"Value"`
Name string `json:"Name"`
Weight int32 `json:"Weight"`
LatencyZone string `json:"LatencyZone"`
SmartRoutingType int `json:"SmartRoutingType"`
}

View File

@@ -0,0 +1,9 @@
// Copyright 2024 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
package bunnynet
type RegionListResponse []struct {
Id int `json:"Id"`
Name string `json:"Name"`
RegionCode string `json:"RegionCode"`
}