Documentation ¶
Overview ¶
Only support mysql database
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { MySQL struct { Username string `yaml:"Username"` Password string `yaml:"Password"` Host string `yaml:"Host"` DBName string `yaml:"DBName"` Charset string `yaml:"Charset"` ParseTime bool `yaml:"ParseTime"` MaxIdleConns int `yaml:"MaxIdleConns"` MaxOpenConns int `yaml:"MaxOpenConns"` } `yaml:"MySQL"` }
Click to show internal directories.
Click to hide internal directories.