Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Masters []DSN `yaml:"masters" json:"masters" toml:"masters"` Slaves []DSN `yaml:"slaves" json:"slaves" toml:"slaves"` MaxOpenConns int `yaml:"max_open_conns" json:"max_open_conns" toml:"max_open_conns"` MaxIdleConns int `yaml:"max_idle_conns" json:"max_idle_conns" toml:"max_idle_conns"` ConnMaxLifetime string `yaml:"conn_max_lifetime" json:"conn_max_lifetime" toml:"conn_max_lifetime"` }
Config for SQL DB.
Click to show internal directories.
Click to hide internal directories.