Versions in this module Expand all Collapse all v1 v1.0.2 Dec 21, 2023 Changes in this version + var Debug bool = false + func NewConnector(dsn string, myc driver.Connector) *connector + func SetHotswapFunc(f func(ctx context.Context, currentDSN string) (newDSN string)) + func SetHotswapFuncWithFallback(f func(ctx context.Context, currentDSN string) (newDSN string), ...) + type MySQLDriver struct + func (d MySQLDriver) Open(dsn string) (driver.Conn, error) + func (d MySQLDriver) OpenConnector(dsn string) (driver.Connector, error)