driver

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenConnector

func OpenConnector(name string, dsn string, s *scope.Scope) (driver.Connector, error)

OpenConnector returns a Connector that wraps the given driver's Connector.

func Wrap

func Wrap(name string, s *scope.Scope) string

Wrap registers a new SQL driver that wraps the given driver name and publishes captured query events via pub. It returns the registered driver name to use with sql.Open.

Types

This section is empty.

Jump to

Keyboard shortcuts

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