Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbSetting ¶ added in v0.0.3
type DbSetting struct { Common *Common `yaml:"common"` MySql *MySqlSetting `yaml:"mysql"` }
type MySqlConnection ¶
type MySqlPool ¶
type MySqlPool struct {
// contains filtered or unexported fields
}
type MySqlSetting ¶ added in v0.0.2
type MySqlSetting struct { MaxOpenConns int `yaml:"maxOpenConns"` MaxIdleConns int `yaml:"maxIdleConns"` MaxLifetime int `yaml:"maxLifetime"` MaxIdleTime int `yaml:"maxIdleTime"` Rws bool `yaml:"rws"` Main *MySqlConnection `yaml:"main"` Sources map[string]*MySqlConnection `yaml:"sources"` Replicas map[string]*MySqlConnection `yaml:"replicas"` }
Click to show internal directories.
Click to hide internal directories.