Versions in this module Expand all Collapse all v0 v0.6.2 Oct 6, 2021 Changes in this version + type Database interface + Connect func() error + Disconnect func() error + GetConnection func() interface{} + func NewMySQLImpl(config MySQLConfig) (Database, error) + type MySQLConfig struct + ConnMaxLifetimeInMs int64 + DBName string + DialConnectionTimeoutInMs int64 + Host string + MaxIdleConns int + Password string + PoolName string + PoolSize int + Port int + ReadTimeoutInMs int64 + User string + WriteTimeoutInMs int64 + type MySQLImpl struct + func (mysql *MySQLImpl) Connect() error + func (mysql *MySQLImpl) Disconnect() error + func (mysql *MySQLImpl) GetConnection() interface{}