From d279022520262b8fb8fc985df3bb19df19192a2f Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期四, 22 八月 2019 19:57:07 +0800 Subject: [PATCH] add cluster updateName and leave --- router/router.go | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/router/router.go b/router/router.go index b10b63c..7680086 100644 --- a/router/router.go +++ b/router/router.go @@ -233,6 +233,8 @@ clusterApi.POST("/stopSearching", clusterController.StopSearching) clusterApi.GET("/getSearchNodes", clusterController.GetSearchNodes) clusterApi.POST("/joinCluster", clusterController.JoinCluster) + clusterApi.POST("/updateClusterName", clusterController.UpdateClusterName) + clusterApi.POST("/leave", clusterController.Leave) } // 鏂囦欢 涓婁紶 -- Gitblit v1.8.0