Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentConfig ¶
type CanaryConfig ¶
type Config ¶
type Config struct {
	Canary *CanaryConfig `yaml:"canary"`
	Mysql  MysqlConfig   `yaml:"mysql"`
}
    func LoadFromFile ¶
func (*Config) HostsWithLogs ¶
type MysqlConfig ¶
type MysqlConfig struct {
	Username  string           `yaml:"username"`
	Password  string           `yaml:"password"`
	Port      uint             `yaml:"port"`
	Agent     *AgentConfig     `yaml:"agent"`
	Threshold *ThresholdConfig `yaml:"threshold"`
	Nodes     []MysqlNode      `yaml:"nodes"`
}
    func (*MysqlConfig) Connection ¶
func (mysqlConfig *MysqlConfig) Connection(node MysqlNode) *sql.DB
func (*MysqlConfig) ConnectionString ¶
func (mysqlConfig *MysqlConfig) ConnectionString(node MysqlNode) string
type ThresholdConfig ¶
 Click to show internal directories. 
   Click to hide internal directories.