PutConn returns working connection back to pool
(conn *Conn)
| 165 | |
| 166 | // PutConn returns working connection back to pool |
| 167 | func (pool *Pool) PutConn(conn *Conn) { |
| 168 | pool.putConnection(Connection{ |
| 169 | conn: conn, |
| 170 | lastUseAt: pool.nowTs(), |
| 171 | }) |
| 172 | } |
| 173 | |
| 174 | // DropConn closes the connection without any checks |
| 175 | func (pool *Pool) DropConn(conn *Conn) { |
no test coverage detected