Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blacklist ¶
type Blacklist interface { Add(key interface{}) AddAddTimeout(key interface{}, duration time.Duration) Exists(key interface{}) bool Remove(key interface{}) }
Blacklist define a data set interface with a timeout
type CurState ¶
type CurState struct {
// contains filtered or unexported fields
}
0. waiting request 1. waiting 2f+1 prepare 2. waiting 2f+1 commit 3. waiting 2f+1 view change
type HeartBeatMsg ¶
type HeartBeatMsg struct { SyncSign // contains filtered or unexported fields }
type NewViewMsg ¶
type NewViewMsg struct {
// contains filtered or unexported fields
}
type PPMsg ¶
type PPMsg struct { SyncSign // contains filtered or unexported fields }
just from master
type PrimaryDown ¶
type PrimaryDown struct {
// contains filtered or unexported fields
}
type StateCounter ¶
type ViewChangeMsg ¶
type ViewChangeMsg struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.