Versions in this module Expand all Collapse all v1 v1.0.0 Dec 5, 2018 Changes in this version + const BundleName + const DEFAULT + var ErrUnknownConnection = errors.New("unknown connection") + type Bundle struct + func NewBundle() *Bundle + func (b *Bundle) Build(builder *di.Builder) error + func (b *Bundle) DependsOn() []string + func (b *Bundle) Name() string + type Config struct + ConnMaxLifetime time.Duration + Driver string + MaxIdleConns int + MaxOpenConns int + Nodes []string + type Configs map[string]Config + type DB = nap.DB + type Registry struct + func NewRegistry(conf Configs) *Registry + func (r *Registry) Close() (err error) + func (r *Registry) Connection() (*nap.DB, error) + func (r *Registry) ConnectionWithName(name string) (_ *nap.DB, err error) + func (r *Registry) Driver() (string, error) + func (r *Registry) DriverWithName(name string) (string, error) + type Row = sql.Row + type Rows = sql.Rows Other modules containing this package github.com/gozix/sql/v2 github.com/gozix/sql/v3