cluster

package
v0.0.117 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2025 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	Node     *node.Node
	Cluster  *node.Nodes
	Client   *client.Http
	KVStore  *raft.KVStore
	RaftNode *raft.RaftNode
	Started  bool
}

func New

func New() *Cluster

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL