driver

package
v2.197.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(lc di.Lifecycle, name string, fs *os.FS, cfg *config.Config) (*mssqlx.DBs, error)

Open a DB pool.

func Register

func Register(name string, driver Driver) (err error)

Register registers a new driver.

Types

type Driver

type Driver = driver.Driver

Driver is an alias for the driver.Driver type.

func NewDriver added in v2.73.0

func NewDriver(name string, driver Driver, trace *tracer.Tracer, log *logger.Logger) Driver

NewDriver creates a new driver with telemetry.

Directories

Path Synopsis
telemetry

Jump to

Keyboard shortcuts

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