This commit is contained in:
2025-11-15 16:19:25 +01:00
parent 7ec38a443b
commit bf78faba28
10 changed files with 423 additions and 29 deletions

View File

@@ -0,0 +1,11 @@
package api
type CreateServerRequest struct {
Name string `json:"name" binding:"required"`
Password *string `json:"password,omitempty"`
}
type UpdateServerRequest struct {
Name string `json:"name" binding:"required"`
Password *string `json:"password,omitempty"`
}