Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Host string Port uint Database string Username string Password string Charset string Collation string Loc string ParseTime string `mapstructure:"parse_time"` ConnMaxLifetime int `mapstructure:"conn_max_lifetime"` MaxIdleConns int `mapstructure:"max_idle_conns"` MaxOpenConns int `mapstructure:"max_open_conns"` }
Click to show internal directories.
Click to hide internal directories.