Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Host string `mapstructure:"host"`
Port uint16 `mapstructure:"port"`
Database string `mapstructure:"database"`
UserName string `mapstructure:"userName"`
Password string `mapstructure:"password"`
LogMode int `mapstructure:"logMode"`
TablePrefix string `mapstructure:"tablePrefix"`
MaxIdleConnections int `mapstructure:"maxIdleConnections"`
MaxOpenConnections int `mapstructure:"maxOpenConnections"`
}
Click to show internal directories.
Click to hide internal directories.