mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-10-18 22:04:39 +08:00
update
This commit is contained in:
19
internal/app/constants/task.go
Normal file
19
internal/app/constants/task.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package constants
|
||||
|
||||
type Condition int
|
||||
|
||||
const (
|
||||
RUNNING Condition = iota
|
||||
NOT_RUNNING
|
||||
EXCEPTION
|
||||
PASS
|
||||
)
|
||||
|
||||
type TaskOperation int
|
||||
|
||||
const (
|
||||
TASK_START TaskOperation = iota
|
||||
TASK_STOP
|
||||
TASK_START_WAIT_DONE
|
||||
TASK_STOP_WAIT_DONE
|
||||
)
|
Reference in New Issue
Block a user