Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBManager ¶
func NewDBManager ¶
func NewDBManager(mysqlConfig config.MySQLConfig) *DBManager
NewDBManager initializes DBManager with the provided MySQL configuration and creates a new connection pool.
func (*DBManager) InitializeDatabases ¶
func (dbm *DBManager) InitializeDatabases(cfg config.MainConfig, sysLog syslogwrapper.SyslogWrapperInterface, apiPlugin api_plugins.APIPlugin)
func (*DBManager) PingIdleConnections ¶
func (dbm *DBManager) PingIdleConnections(sysLog syslogwrapper.SyslogWrapperInterface)
PingIdleConnections pings all idle connections in the pool to keep them healthy
Click to show internal directories.
Click to hide internal directories.