# Functions
NewCluster constructs cluster object representing a single 'cluster' of SQL database.
NewNode constructs node from sqlx.DB.
# Variables
Alive for choosing any alive node.
PickNodeClosest returns node with least latency.
PickNodeRandom returns random node from nodes set.
PickNodeRoundRobin returns next node based on Round Robin algorithm.
PreferPrimary for choosing primary or any alive node.
PreferStandby for choosing standby or any alive node.
Primary for choosing primary node.
Standby for choosing standby node.
WithNodePicker sets algorithm for node selection (e.g.
WithTracer sets tracer for actions happening in the background.
WithUpdateInterval sets interval between cluster node updates.
WithUpdateTimeout sets ping timeout for update of each node in cluster.
# Interfaces
Node of single cluster.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author