优化服务发现

This commit is contained in:
boyce
2021-04-30 18:30:05 +08:00
parent ea4f17f22c
commit 1007845e95
4 changed files with 65 additions and 11 deletions

View File

@@ -2,7 +2,7 @@ package cluster
type OperType int
type FunDelNode func (nodeId int)
type FunDelNode func (nodeId int,immediately bool)
type FunSetNodeInfo func(nodeInfo *NodeInfo)
type IServiceDiscovery interface {