package
0.0.0-20241223074023-4d878ecea366
Repository: https://github.com/ibiscum/bobcaygeon.git
Documentation: pkg.go.dev
# Functions
DecodeNodeMeta decodes node meta data from bytes into something useful.
FilterMembers filters down the memberlist to return only nodes of the given type.
FilterMembersByFn provides more flexibility in using a filtering function.
NewEventDelegate instantiates a new EventDelegate struct.
SearchForCluster searches for a cluster to join.
# Constants
Frontend this is a node for controlling front proxy.
Mgmt this node is responsible for management.
Music this node is responsible for music.
ServiceType is the type used to advertise the cluster to join.
# Structs
Delegate handles memberlist events.
EventDelegate handles the delgate functions from the memberlist.
NodeMeta is metadata passed to other members about this node.
# Type aliases
MemberFilter function used to filter the list down.
NodeType describes what type of role this node has in the cluster.