Documentation
¶
Index ¶
Constants ¶
const MySQL = "icingadb-mysql"
const PostgreSQL = "icingadb-pgsql"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Driver ¶
Driver wraps a driver.Driver that also must implement driver.DriverContext with logging capabilities and provides our RetryConnector.
type PgSQLDriver ¶
PgSQLDriver extends pq.Driver with driver.DriverContext compliance.
func (PgSQLDriver) OpenConnector ¶
func (PgSQLDriver) OpenConnector(name string) (driver.Connector, error)
OpenConnector implements the driver.DriverContext interface.
type RetryConnector ¶
RetryConnector wraps driver.Connector with retry logic.
func (RetryConnector) Driver ¶
func (c RetryConnector) Driver() driver.Driver
Driver implements part of the driver.Connector interface.