Documentation ¶
Index ¶
Constants ¶
View Source
const (
Driver = "mysql"
)
Variables ¶
View Source
var ( ConnectionsPercentPerRequest = 5 MaxConnectionsPercent = 90 IdleConnectionsPercent = 25 )
Functions ¶
func FilterDAOErrors ¶
FilterDAOErrors hides sensitive information about the underlying table when we receive MySQLError.
Types ¶
type MySQLDriver ¶
type MySQLDriver struct{}
MySQLDriver is exported to make the driver directly accessible. In general the driver is used via the database/sql package.
func (MySQLDriver) Open ¶
func (d MySQLDriver) Open(dsn string) (driver.Conn, error)
Open new Connection. See https://github.com/go-sql-driver/mysql#dsn-data-source-name for how the DSN string is formatted
Click to show internal directories.
Click to hide internal directories.