init
This commit is contained in:
11
network/http/web/api/server_dto.go
Normal file
11
network/http/web/api/server_dto.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user