Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
Database 数据库连接
func NewMysql ¶
func NewMysql(master []string, slave []string, port string, user string, pwd string, database string) *Database
NewMysql 实例化一个mysql连接
func NewPostgresSql ¶
func NewPostgresSql(master []string, slave []string, port string, user string, pwd string, database string) *Database
NewPostgresSql 实例化一个postgres连接
Click to show internal directories.
Click to hide internal directories.