1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-15 08:16:43 +00:00
This commit is contained in:
2019-03-25 15:36:30 +08:00
parent 66b4468c74
commit 804dfa969f
4 changed files with 76 additions and 66 deletions

View File

@@ -8,6 +8,20 @@ import (
"net/http"
)
const (
Created = 0
Starting = 1
Running = 2
Stopped = 3
Finished = 4
)
type MsgJobList struct {
Code int `json:"code"`
Error string `json:"error"`
Jobs []*Job `json:"jobs"`
}
type MsgLog struct {
Code int `json:"code"`
Error string `json:"error"`