Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FSM ¶
type FSM struct {
// contains filtered or unexported fields
}
FSM wraps a state object and implements the Raft FSM interface
type Raft ¶
type Raft struct {
// contains filtered or unexported fields
}
Raft implements the Consensus interface. It uses Hashicorp Raft
func NewRaft ¶
func NewRaft(config config.RaftConfig, logger *logrus.Logger) *Raft
NewRaft returns a new Raft object
Click to show internal directories.
Click to hide internal directories.