# Functions
NewConsulLeaderChecker returns a new instance.
NewEtcdLeaderChecker returns a new instance.
NewLeaderChecker returns a new LeaderChecker instance depending on the configuration.
NewPatroniLeaderChecker returns a new instance.
# Variables
ErrUnsupportedEndpointType is returned for an unsupported endpoint.
# Structs
ConsulLeaderChecker is used to check state of the leader key in Consul.
EtcdLeaderChecker is used to check state of the leader key in Etcd.
PatroniLeaderChecker will use Patroni REST API to check the leader.
# Interfaces
LeaderChecker is the interface for checking leadership.