Documentation ¶
Index ¶
- type Manager
- func (self *Manager) Current() (string, error)
- func (self *Manager) GetContender() (string, int64, error)
- func (self *Manager) Invalidate(member string)
- func (self *Manager) NextView()
- func (self *Manager) ProcessVote(from, peerId string, viewId int64) error
- func (self *Manager) View() int64
- func (self *Manager) VoteCount() int
- type Vote
- type Votes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { C chan bool // contains filtered or unexported fields }
func NewManager ¶
func (*Manager) Invalidate ¶
func (*Manager) ProcessVote ¶
Click to show internal directories.
Click to hide internal directories.