summaryrefslogtreecommitdiffstats
path: root/einterfaces
diff options
context:
space:
mode:
Diffstat (limited to 'einterfaces')
-rw-r--r--einterfaces/cluster.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/einterfaces/cluster.go b/einterfaces/cluster.go
index 096a775fe..9d61b7503 100644
--- a/einterfaces/cluster.go
+++ b/einterfaces/cluster.go
@@ -14,6 +14,7 @@ type ClusterInterface interface {
StopInterNodeCommunication()
RegisterClusterMessageHandler(event string, crm ClusterMessageHandler)
GetClusterId() string
+ IsLeader() bool
GetClusterInfos() []*model.ClusterInfo
SendClusterMessage(cluster *model.ClusterMessage)
NotifyMsg(buf []byte)