package
1.0.4
Repository: https://github.com/masnax/microclustertest.git
Documentation: pkg.go.dev

# Functions

DecodeToken decodes a base64-encoded token string.

# Constants

MemberNotFound should be the MemberStatus when the node was not found in dqlite.
MemberNotTrusted should be the MemberStatus when there is no local yaml entry for this node.
MemberOnline should be the MemberStatus when the node is online and reachable.
MemberUnreachable should be the MemberStatus when we were not able to connect to the node.

# Structs

ClusterMember represents information about a dqlite cluster member.
ClusterMemberLocal represents local information about a new cluster member.
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.
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 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

MemberStatus represents the online status of a cluster member.