wrapper

package
v0.0.0-...-c3677c5 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogTransactions bool

Functions

func NewConnection

func NewConnection(ctx context.Context, dburl string, maxIdleConnections, maxOpenConnections int) (string, *sql.DB, error)

func NewConnectorWrapper

func NewConnectorWrapper(c driver.Connector, config ConnectorWrapperConfig) driver.Connector

Types

type ConnectorWrapperConfig

type ConnectorWrapperConfig struct {
	Hostname                        string
	MaxConcurrentSerialTransactions int64
}

type QueryMetadata

type QueryMetadata struct {
	SpanID   string `json:"spanID,omitempty"`
	Hostname string `json:"hostname,omitempty"`
}

Jump to

Keyboard shortcuts

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