Documentation
¶
Index ¶
Constants ¶
View Source
const ( Window types.Slot = 5 InitialSlotID types.Slot = 1 InitialRequestSize = 100 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Acceptor ¶
type Acceptor struct {
v1.Process
// Set of PValues accepted so far
Accepted types.PValues
// Last Adopted ballot number
BN *types.BallotNumber
// contains filtered or unexported fields
}
func NewAcceptor ¶
func NewAcceptor(exchange v1.MessageExchange) *Acceptor
type Commander ¶
func NewCommander ¶
type Replica ¶
func NewReplica ¶
func NewReplica(exchange v1.MessageExchange, leaders []v1.Addr) *Replica
Click to show internal directories.
Click to hide internal directories.