package
3.0.0-rc.3+incompatible
Repository: https://github.com/vitessio/vitess.git
Documentation: pkg.go.dev
# Functions
NewConnectionPool creates a new ConnectionPool.
NewDBConnection returns a new DBConnection based on the ConnParams and will use the provided stats to collect timing.
# Variables
ErrConnPoolClosed is returned if the connection pool is closed.
# Structs
ConnectionPool re-exposes ResourcePool as a pool of PooledDBConnection objects.
DBConnection re-exposes mysql.Conn with some wrapping to implement most of PoolConnection interface, except Recycle.
PooledDBConnection re-exposes DBConnection to be used by ConnectionPool.