package
2.1.7+incompatible
Repository: https://github.com/jeremyhahn/dragonboat.git
Documentation: pkg.go.dev

# Functions

GetSnapshotDirName returns the snapshot dir name for the snapshot captured at the specified index.
NewContext creates and returns a new server Context object.
NewDoubleFixedPartitioner creates a new DoubleFixedPartitioner instance.
NewFixedPartitioner creates a new FixedPartitioner instance.
NewMessageQueue creates a new MessageQueue instance.
NewSnapshotEnv creates and returns a new SnapshotEnv instance.

# Constants

ReceivingMode is the mode used when receiving snapshots from remote nodes.
SnapshottingMode is the mode used when taking snapshotting.

# Structs

Context is the server context for NodeHost.
DoubleFixedPartitioner is the IPartitioner with two fixed capacity and naive partitioning strategy.
FixedPartitioner is the IPartitioner with fixed capacity and naive partitioning strategy.
MessageQueue is the queue used to hold Raft messages.
SnapshotEnv is the struct used to manage involved directories for taking or receiving snapshots.

# Interfaces

IPartitioner is the interface for partitioning clusters.

# Type aliases

GetSnapshotDirFunc is the function type that returns the snapshot dir for the specified raft node.
Mode is the snapshot env mode.