Documentation ¶
Index ¶
Constants ¶
View Source
const ( MySQL = "mysql" Postgresql = "postgres" )
Variables ¶
View Source
var ( MaxIdle = 500 MaxActive = 4000 IdleTimeout = 30 * time.Second Wait = true )
View Source
var ( MaxIdleConns = 50 MaxOpenConns = 200 )
Functions ¶
func AddSQLDriver ¶
Types ¶
type RedisConfig ¶
RedisConfig for config
Click to show internal directories.
Click to hide internal directories.