Re-exports§
pub use crate::cluster_join_ticket::ClusterJoinTicket;
pub use crate::raft_service::raft_service_client::RaftServiceClient;
pub use bincode;
pub use jopemachine_raft as raft;
pub use tonic;
Modules§
Structs§
- A default batteries included
transport
channel. - This structure contains functions required for Raft bootstrap along with RaftNode and RaftServer instances. The bootstrap function returns an instance of the Raft type that deref to RaftNode type, allowing the use of functions necessary for interaction with the cluster.
- Config contains the parameters to start a raft.