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