datarhei-dragonfork-core/http/api/command.go

7 lines
228 B
Go
Raw Permalink Normal View History

2022-05-13 13:26:45 -04:00
package api
// Command is a command to send to a process
type Command struct {
Command string `json:"command" validate:"required" enums:"start,stop,restart,reload" jsonschema:"enum=start,enum=stop,enum=restart,enum=reload"`
}