package
0.0.0-20230203010516-6d4bf48beedd
Repository: https://github.com/onyx-protocol/onyx.git
Documentation: pkg.go.dev

# Functions

Start starts the raft algorithm.

# Variables

ErrAddressNotAllowed is returned from Join when the node's address is not in the provided cluster's allowed address list.
ErrExistingCluster is returned from Init or Join when the Service is already connected to a raft cluster.
ErrPeerUninitialized is returned when a peer node indicates it's not yet initialized.
ErrUninitialized is returned when the Service is not yet connected to any cluster.
ErrUnknownPeer is returned when the specified peer doesn't exist.

# Structs

Service performs raft coordination.

# Interfaces

State provides access to the actual replicated data set.