package
0.0.0-20230130100827-6c64ebff31b2
Repository: https://github.com/packtpublishing/go-cookbook.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Config creates num in-memory raft nodes and connects them.
Handler grabs the get param ?next= and tries to transition to the state contained there.
NewFSM creates a new FSM with start state of "first".

# Structs

FSM implements the raft FSM interface and holds a state.