mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
feat: batch set server config (#983)
* feat: batch set server config * run in parallel * fix route * fix * return some information * fix order
This commit is contained in:
1 parent
f37b3e768d
commit
eeb96caf4d
6 files changed
+69
-37
No files matched your search
+6
-1
@@ -31,7 +31,12 @@ type ServerForm struct {
|
||||
OverrideDDNSDomains map[uint64][]string `json:"override_ddns_domains,omitempty" validate:"optional"`
|
||||
}
|
||||
|
||||
type ForceUpdateResponse struct {
|
||||
type ServerConfigForm struct {
|
||||
Servers []uint64 `json:"servers,omitempty"`
|
||||
Config string `json:"config,omitempty"`
|
||||
}
|
||||
|
||||
type ServerTaskResponse struct {
|
||||
Success []uint64 `json:"success,omitempty" validate:"optional"`
|
||||
Failure []uint64 `json:"failure,omitempty" validate:"optional"`
|
||||
Offline []uint64 `json:"offline,omitempty" validate:"optional"`
|
||||
|
||||
Reference in new issue
Block a user