mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-10-30 02:51:49 +08:00
update
This commit is contained in:
16
internal/app/constants/process.go
Normal file
16
internal/app/constants/process.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package constants
|
||||
|
||||
type TerminalType string
|
||||
|
||||
const (
|
||||
TERMINAL_PTY TerminalType = "pty"
|
||||
TERMINAL_STD TerminalType = "std"
|
||||
)
|
||||
|
||||
type ProcessState int32
|
||||
|
||||
const (
|
||||
PROCESS_STOP ProcessState = iota
|
||||
PROCESS_START
|
||||
PROCESS_WARNNING
|
||||
)
|
||||
Reference in New Issue
Block a user