Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RoleCandidate represents a candidate RoleCandidate = Role(0) // RoleFollower represents a follower RoleFollower = Role(1) // RoleLeader represents a leader RoleLeader = Role(2) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EleCli ¶
type EleCli struct {
// contains filtered or unexported fields
}
EleCli is the client of the elector
Click to show internal directories.
Click to hide internal directories.