Documentation
¶
Index ¶
Constants ¶
View Source
const ( MaxOpenConns = 100 // MaxOpenConns is the maximum number of open database connections in the pool. MaxIdleConns = 25 // MaxIdleConns is the maximum number of idle database connections (1/4 of MaxOpenConns). ConnMaxLifetime = 60 * time.Minute // ConnMaxLifetime is the maximum lifetime of a database connection in minutes. ConnMaxIdletime = 10 * time.Minute // ConnMaxIdletime is the maximum idle lifetime of a database connection in minutes. )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.