Versions in this module Expand all Collapse all v0 v0.24.1 Jan 27, 2022 Changes in this version + const Scheme + func ConfigFromURL(u *url.URL) (cfg *mysql.Config, err error) + func Open(ctx context.Context, urlstr string) (*sql.DB, error) + type MySQLURLOpener interface + OpenMySQLURL func(ctx context.Context, u *url.URL) (*sql.DB, error) + type URLMux struct + func DefaultURLMux() *URLMux + func (mux *URLMux) OpenMySQL(ctx context.Context, urlstr string) (*sql.DB, error) + func (mux *URLMux) OpenMySQLURL(ctx context.Context, u *url.URL) (*sql.DB, error) + func (mux *URLMux) RegisterMySQL(scheme string, opener MySQLURLOpener) + type URLOpener struct + TraceOpts []ocsql.TraceOption + func (uo *URLOpener) OpenMySQLURL(_ context.Context, u *url.URL) (*sql.DB, error)