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

This commit is contained in:
刘祥超
2020-10-17 11:14:07 +08:00
parent 65a9330678
commit d76ecf1bc9
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)).