Versions in this module Expand all Collapse all v0 v0.3.1 Dec 2, 2017 v0.3.0 Dec 2, 2017 Changes in this version + func CheckDBConnection(user string, pass string, host string, port string) string + func NewDBConn(user string, pass string, host string, port string) (*sql.DB, error) + type Checker interface + CheckConnection func() string + CheckReplicaConsistency func() + CheckReplicaStatus func() + func NewChecker(c config.ClusterConfig) Checker + type Cluster struct + AtlasNodes map[string]config.Atlas + DBNodes map[string]config.Database + Password string + Username string + VIPNode config.Vip + func (c *Cluster) CheckConnection() string + func (c *Cluster) CheckReplicaConsistency() + func (c *Cluster) CheckReplicaStatus()