package
24.1.0-rc5
Repository: https://github.com/hypermodeinc/dgraph.git
Documentation: pkg.go.dev

# Functions

GetPools returns the list of pools.
NewNode returns a new Node instance.
NewRaftServer returns a pointer to a new RaftServer instance.

# Variables

ErrNoConnection indicates no connection exists to a node.
ErrNoNode is returned when no node has been set up.
ErrUnhealthyConnection indicates the connection to a node is unhealthy.

# Structs

Node represents a node participating in the RAFT protocol.
Pool is used to manage the grpc client connection(s) for communicating with other worker instances.
Pools manages a concurrency-safe set of Pool.
ProposalCtx stores the context for a proposal with extra information.
RaftServer is a wrapper around node that implements the Raft service.