package
0.0.0-20191101101117-7375b2fc63f1
Repository: https://github.com/glvd/cluster.git
Documentation: pkg.go.dev
# Functions
NewConfigHelper creates a config helper given the paths to the configuration and identity files.
NewStateManager returns an state manager implementation for the given consensus ("raft" or "crdt").
# Structs
ConfigHelper helps managing the configuration and identity files with the standard set of cluster components.
Configs carries config types used by a Cluster Peer.
# Interfaces
StateManager is the interface that allows to import, export and clean different cluster states depending on the consensus component used.