Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Drivers = make(map[string]Driver)
Drivers is a registry of drivers
View Source
var ErrClosed = errors.New("infra: connection is closed")
ErrClosed should be returned by Execute if the connection is closed
View Source
var ErrNotFound = errors.New("infra: not found")
ErrNotFound should be returned by InformationSchema.Lookup if no resource was found
Functions ¶
Types ¶
type Connection ¶
type Driver ¶
type Driver interface {
Open(dsn string) (Connection, error)
}
type InformationSchema ¶ added in v0.11.0
Click to show internal directories.
Click to hide internal directories.