可以直接在节点启动时自动注册节点

This commit is contained in:
GoEdgeLab
2020-10-17 11:14:07 +08:00
parent b2bea2e0ed
commit 282900d611
6 changed files with 98 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ func init() {
Helper(clusters.NewClusterHelper()).
Prefix("/clusters/cluster").
Get("", new(IndexAction)).
GetPost("/installNodes", new(InstallNodesAction)).
// 节点相关
Get("/node", new(node.NodeAction)).