move agents monitor task to go

This commit is contained in:
wh1te909
2021-01-30 04:39:15 +00:00
parent ada627f444
commit 8aa11c580b
8 changed files with 73 additions and 25 deletions

View File

@@ -8,3 +8,8 @@ type NatsInfo struct {
type AgentIDS struct {
IDs []string `json:"agent_ids"`
}
type Recovery struct {
Func string `json:"func"`
Data map[string]string `json:"payload"`
}