package
0.0.0-20241213042518-056a383d7d4c
Repository: https://github.com/james-lawrence/bw.git
Documentation: pkg.go.dev

# Functions

NewProtocol ...
NewStreamTransport ...
No description provided by the author
NewUnixStreamLayer ...
No description provided by the author
ProtocolOptionClusterObserver set the observers for the protocol.
ProtocolOptionConfig set raft configuration for the protocol.
ProtocolOptionEnableSingleNode operation.
ProtocolOptionLeadershipGrace how long to wait before considering the leader dead.
ProtocolOptionMuxerTransport set the transport using a muxer.
ProtocolOptionObservers set the observers for the protocol.
ProtocolOptionPassiveCheckin how often to check if the node should have promoted itself.
ProtocolOptionPassiveReset reset when we enter the passive state.
ProtocolOptionQuorumMinimum allow minimum quorum to be less than the default quorum.
ProtocolOptionStateMachine set the state machine for the protocol.
ProtocolOptionTransport set the state machine for the protocol.

# Structs

No description provided by the author
Event ...
Protocol - utility data structure for holding information about a raft protocol setup that are needed to connect, reconnect, and shutdown.
StreamLayer ...
UnixStreamLayer ...

# Interfaces

Storage ...

# Type aliases

ProtocolOption options for the raft protocol.