Get returns a new connection from the pool. Closing the connections puts it back to the Pool. Closing it when the pool is destroyed or full will be counted as an error.
()
| 18 | // it back to the Pool. Closing it when the pool is destroyed or full will |
| 19 | // be counted as an error. |
| 20 | Get() (net.Conn, error) |
| 21 | |
| 22 | // New creates a new connection via the factory, bypassing any idle |
| 23 | // connections in the pool. Closing the returned connection will attempt |
no outgoing calls