driver

package
v0.0.0-...-79ce2c3 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrStatementClosed  = errors.New("statement is closed")
	ErrExecUnsupported  = errors.New("exec is unsupported - use ExecContext")
	ErrQueryUnsupported = errors.New("query is unsupported - use QueryContext")
)
View Source
var ErrConnectionClosed = errors.New("connection closed")
View Source
var ErrRowsClosed = errors.New("rows closed")
View Source
var ErrTransactionsUnsupported = errors.New("transactions are not supported")

Functions

This section is empty.

Types

type Driver

type Driver struct {
	// contains filtered or unexported fields
}

func NewDriver

func NewDriver(transport http.RoundTripper) *Driver

func (*Driver) Open

func (d *Driver) Open(name string) (driver.Conn, error)

func (*Driver) OpenConnector

func (d *Driver) OpenConnector(name string) (driver.Connector, error)

Jump to

Keyboard shortcuts

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