Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Close ¶
func Close()
Close 将关闭数据库并阻止启动新查询。关闭,然后等待服务器上已开始处理的所有查询完成。
关闭数据库的情况很少见, 因为数据库句柄是长期存在的,并且在许多 goroutines 之间共享
func Init ¶
func Init(cfg *settings.MySQLConfig) (err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.