Versions in this module Expand all Collapse all v1 v1.1.5 Oct 28, 2022 Changes in this version + type Connection struct + DB *sql.DB + Pool *DbPool + Status bool + func (conn *Connection) Close() + type DbPool struct + ExpandSize int + InitialSize int + MaxOpen int + MinOpen int + PoolQueue DbPoolQueue + TestConn bool + Url string + func (pool *DbPool) Close(conn *Connection) + func (pool *DbPool) GetConn() (*Connection, error) + type DbPoolQueue struct + First *DbPoolQueueItem + Last *DbPoolQueueItem + Size int + func (dp *DbPoolQueue) Add(item *Connection) + func (dp *DbPoolQueue) Poll() *Connection + type DbPoolQueueItem struct + Conn *Connection + Next *DbPoolQueueItem