This commit is contained in:
insanity@loafle.com 2017-05-15 18:51:37 +09:00
parent 6aeb8743ca
commit 126c0fcd0b
2 changed files with 7 additions and 2 deletions

View File

@ -1,8 +1,7 @@
package messages
const (
AGT_STARTING = "AGT_STARTING"
AGT_WILL_STOP = "AGENT_WILL_STOP"
AGT_START = "AGENT_WILL_STOP"
AGT_STOPPED = "AGENT_STOPPED"
AGT_INITIALIZED = "AGT_INITIALIZED"
)

View File

@ -4,3 +4,9 @@ type AgentTask struct {
Command string
Params map[string]string
}
type TaskResult struct {
Command string
Success bool
Err error
}