Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
Channels *channels.Cluster
Node *node.Node
Cluster *node.Nodes
InSync chan bool
NodeConf chan node.Node
NodeFinalizer chan node.Node
KVStore *raft.KVStore
RaftLeader uint64
RaftNode *raft.RaftNode
Started bool
Replay bool
Join bool
}
func Restore ¶
func Restore(config *configuration.Configuration) (*Cluster, error)
func (*Cluster) Regenerate ¶ added in v0.0.73
func (cluster *Cluster) Regenerate(config *configuration.Configuration, keys *keys.Keys)
Click to show internal directories.
Click to hide internal directories.