Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMySQL ¶
Types ¶
type MySQL ¶
type MySQL struct { Host string `yaml:"host" json:"host" bson:"host"` Port string `yaml:"port" json:"port" bson:"port"` User string `yaml:"user" json:"user" bson:"user"` Password string `yaml:"password" json:"password" bson:"password"` DBname string `yaml:"db" json:"db" bson:"db"` Charset string `yaml:"charset" json:"charset" bson:"charset"` MaxIdleConns int `yaml:"maxidleconns" json:"maxidleconns" bson:"maxidleconns"` MaxOpenConns int `yaml:"maxopenconns" json:"maxopenconns" bson:"maxidleconns"` }
Click to show internal directories.
Click to hide internal directories.