Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectMysql ¶
ConnectMysql build a connection to mysql
Types ¶
type MysqlC ¶
type MysqlC struct {
UserName string `json:"username"`
Password string `json:"password"`
Addr string `json:"addr"`
DBName string `json:"dbname"`
Charset string `json:"charset"`
ParseTime bool `json:"parsetime"`
Loc string `json:"loc"`
Pool int `json:"pool"`
}
MysqlC mysql server config struct
Click to show internal directories.
Click to hide internal directories.