Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRaftTCPTransport ¶
Types ¶
type NodeFSM ¶
type NodeFSM struct {
// contains filtered or unexported fields
}
Node State Machine
func NewNodeFSM ¶
func NewNodeFSM() *NodeFSM
type Store ¶
func NewStore ¶
func NewStore(nodeConfig *config.NodeConfig) (*Store, error)
TODO: rename func NewStore(raftDir, raftBindAddr string) (*Store, error) {
Click to show internal directories.
Click to hide internal directories.