mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-17 11:14:44 +08:00
16 lines
316 B
Go
16 lines
316 B
Go
![]() |
package dto
|
||
|
|
||
|
type CommandCreate struct {
|
||
|
Name string `json:"name" validate:"required"`
|
||
|
Command string `json:"command" validate:"required"`
|
||
|
}
|
||
|
|
||
|
type CommandUpdate struct {
|
||
|
Name string `json:"name" validate:"required"`
|
||
|
}
|
||
|
|
||
|
type CommandInfo struct {
|
||
|
Name string `json:"name"`
|
||
|
Command string `json:"command"`
|
||
|
}
|