mysqlshim

package
v0.39.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQL

type MySQL interface {
	ParseDSN(dsn string) (*mysql.Config, error)
	RegisterTLSConfig(string, *tls.Config) error
}

type MySQLShim

type MySQLShim struct{}

func (*MySQLShim) ParseDSN

func (sh *MySQLShim) ParseDSN(dsn string) (cfg *mysql.Config, err error)

func (*MySQLShim) RegisterTLSConfig

func (sh *MySQLShim) RegisterTLSConfig(key string, config *tls.Config) error

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL