# Functions
DecodeToken decodes a base64-encoded token string.
# Constants
ControlEndpoint - All internal endpoints available on the local unix socket.
InternalEndpoint - All internal endpoints restricted to trusted servers.
OnDaemonConfigUpdate is run after the local daemon received a config update.
OnHeartbeat is run after a successful heartbeat round.
OnNewMember is run on each peer after a new cluster member has joined and executed their 'PreJoin' hook.
OnStart is run after the daemon is started.
PostBootstrap is run after the daemon is initialized and bootstrapped.
PostJoin is run after the daemon is initialized, joined the cluster and existing members triggered their 'OnNewMember' hooks.
PostRemove is run on all other peers after one is removed from the cluster.
PreBootstrap is run before the daemon is initialized and bootstrapped.
PreJoin is run after the daemon is initialized and joined the cluster but before existing members triggered their 'OnNewMember' hooks.
PreRemove is run on a cluster member just before it is removed from the cluster.
PublicEndpoint - Internally managed APIs.
# Structs
Control represents the arguments that can be used to initialize/shutdown the daemon.
HeartbeatInfo represents information about the cluster sent out by the leader of the cluster to other members.
HookNewMemberOptions holds configuration pertaining to the OnNewMember hook.
HookRemoveMemberOptions holds configuration pertaining to the PreRemove and PostRemove hooks.
Server represents server status information.
SQLBatch represents a batch of SQL results.
SQLDump represents the text of a SQL dump.
SQLQuery represents a SQL query.
SQLResult represents the result of executing a SQL command.
Token holds the information that is presented to the joining node when requesting a token.
TokenRecord represents the internal record of a join token.
TokenRequest holds information for requesting a join token.
TokenResponse holds the information for connecting to a cluster by a node with a valid join token.
# Type aliases
HookType represents the various types of hooks available to microcluster.