Documentation ¶
Index ¶
Constants ¶
View Source
const AddressConfigKey = "mysql-address"
View Source
const DriverName = "mysql"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MySQL ¶
type MySQL struct {
// contains filtered or unexported fields
}
func (MySQL) DB ¶
DB is just a proxy for convenient access to the underlying sqlx implementation This method is used a lot, therefore it's name is abbreviated.
type Option ¶
type Option func(*Options)
func MaxConnectionLifetime ¶
func MaxIdleConnections ¶
func MaxOpenConnections ¶
func MigrationPath ¶
Click to show internal directories.
Click to hide internal directories.