package
0.0.0-20240429152732-2506c0aee2c4
Repository: https://github.com/adarshsrinivasan/ds_s24.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
NewConsensusModule creates a new CM with the given ID, list of peer IDs and server.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
AppendEntriesArgs See figure 2 in the paper.
No description provided by the author
CommitEntry is the data reported by Raft to the commit channel.
ConsensusModule (CM) implements a single node of Raft consensus.
No description provided by the author
MapStorage is a simple in-memory implementation of Storage for testing.
No description provided by the author
RequestVoteArgs See figure 2 in the paper.
No description provided by the author
RPCProxy is a trivial pass-thru proxy type for ConsensusModule's RPC methods.
Server wraps a raft.ConsensusModule along with a rpc.Server that exposes its methods as RPC endpoints.
# Interfaces
No description provided by the author
Storage is an interface implemented by stable storage providers.