mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-04 18:05:19 +08:00
13 lines
267 B
Go
13 lines
267 B
Go
package dto
|
|
|
|
type CommandOperate struct {
|
|
Name string `json:"name" validate:"required"`
|
|
Command string `json:"command" validate:"required"`
|
|
}
|
|
|
|
type CommandInfo struct {
|
|
ID uint `json:"id"`
|
|
Name string `json:"name"`
|
|
Command string `json:"command"`
|
|
}
|