Initial commit (code only without large binaries)
This commit is contained in:
12
EdgeAPI/internal/dnsclients/cloudns/response_record.go
Normal file
12
EdgeAPI/internal/dnsclients/cloudns/response_record.go
Normal file
@@ -0,0 +1,12 @@
|
||||
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
|
||||
package cloudns
|
||||
|
||||
type RecordResponse struct {
|
||||
Id string `json:"id"`
|
||||
Type string `json:"type"`
|
||||
Host string `json:"host"`
|
||||
Record string `json:"record"`
|
||||
TTL string `json:"ttl"`
|
||||
Status int `json:"status"`
|
||||
}
|
||||
5
EdgeAPI/internal/dnsclients/cloudns/response_records.go
Normal file
5
EdgeAPI/internal/dnsclients/cloudns/response_records.go
Normal file
@@ -0,0 +1,5 @@
|
||||
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
|
||||
package cloudns
|
||||
|
||||
type RecordsResponse map[string]*RecordResponse
|
||||
8
EdgeAPI/internal/dnsclients/cloudns/response_status.go
Normal file
8
EdgeAPI/internal/dnsclients/cloudns/response_status.go
Normal file
@@ -0,0 +1,8 @@
|
||||
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
|
||||
package cloudns
|
||||
|
||||
type StatusResponse struct {
|
||||
Status string `json:"status"`
|
||||
StatusDescription string `json:"statusDescription"`
|
||||
}
|
||||
10
EdgeAPI/internal/dnsclients/cloudns/response_zone.go
Normal file
10
EdgeAPI/internal/dnsclients/cloudns/response_zone.go
Normal file
@@ -0,0 +1,10 @@
|
||||
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
|
||||
package cloudns
|
||||
|
||||
type ZoneResponse struct {
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
Zone string `json:"zone"`
|
||||
Status string `json:"status"`
|
||||
}
|
||||
5
EdgeAPI/internal/dnsclients/cloudns/response_zones.go
Normal file
5
EdgeAPI/internal/dnsclients/cloudns/response_zones.go
Normal file
@@ -0,0 +1,5 @@
|
||||
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
|
||||
package cloudns
|
||||
|
||||
type ZonesResponse []*ZoneResponse
|
||||
Reference in New Issue
Block a user