Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*dbCfg)
Option is function option
func MaxIdleConnection ¶
MaxIdleConnection set sql db max idle conn
func MaxOpenConnection ¶
MaxOpenConnection set sql db max open conn
func MaxQueryTime ¶
MaxQueryTime set sql conn exec max timeout
Click to show internal directories.
Click to hide internal directories.