增加节点停止、启动、安装测试等功能

This commit is contained in:
GoEdgeLab
2020-10-27 12:33:27 +08:00
parent 16ab3a5497
commit 0bf5859112
14 changed files with 299 additions and 158 deletions

View File

@@ -29,6 +29,8 @@ func init() {
Post("/node/updateInstallStatus", new(node.UpdateInstallStatusAction)).
Post("/node/status", new(node.StatusAction)).
Get("/node/logs", new(node.LogsAction)).
Post("/node/start", new(node.StartAction)).
Post("/node/stop", new(node.StopAction)).
EndAll()
})
}