package
2.0.0+incompatible
Repository: https://github.com/mattharden/vitess.git
Documentation: pkg.go.dev
# Functions
Connect returns a sqldb.Conn using the default connection creation function.
NewSQLError creates a new SQLError.
Register registers a db connection.
RegisterDefault registers the default connection function.
# Constants
SQLStateGeneral is the SQLSTATE value for "general error".
# Structs
ConnParams contains all the parameters to use to connect to mysql.
SQLError is the error structure returned from calling a db library function.
# Interfaces
Conn defines the behavior for the low level db connection.
# Type aliases
NewConnFunc is a factory method that creates a Conn instance using given ConnParams.