feat: server group api

This commit is contained in:
naiba
2024-10-21 23:00:51 +08:00
parent 5efd995992
commit 9c08ebe956
9 changed files with 223 additions and 43 deletions

View File

@@ -18,7 +18,7 @@ type StreamServerData struct {
Servers []StreamServer `json:"servers,omitempty"`
}
type EditServer struct {
type ServerForm struct {
Name string `json:"name,omitempty"`
Note string `json:"note,omitempty"` // 管理员可见备注
PublicNote string `json:"public_note,omitempty"` // 公开备注