Documentation ¶
Index ¶
- Variables
- func DBOpener(opts ...func(*DBOpenerConfig)) sql.DBOpener
- func DBOpenerWithMetricsCallback(opts ...func(*DBOpenerConfig)) func(string, *stdsql.DB) error
- func DBOpenerWithTracer(opts ...func(*DBOpenerConfig)) sql.DBOpener
- func WithOtelSqlOptBuilder(b func(dsn string) []otelsql.Option) func(*DBOpenerConfig)
- type DBOpenerConfig
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DBOpener ¶
func DBOpener(opts ...func(*DBOpenerConfig)) sql.DBOpener
func DBOpenerWithMetricsCallback ¶ added in v0.0.9
func DBOpenerWithMetricsCallback(opts ...func(*DBOpenerConfig)) func(string, *stdsql.DB) error
func DBOpenerWithTracer ¶ added in v0.0.9
func DBOpenerWithTracer(opts ...func(*DBOpenerConfig)) sql.DBOpener
func WithOtelSqlOptBuilder ¶ added in v0.0.10
func WithOtelSqlOptBuilder(b func(dsn string) []otelsql.Option) func(*DBOpenerConfig)
Types ¶
type DBOpenerConfig ¶ added in v0.0.10
Click to show internal directories.
Click to hide internal directories.