Versions in this module Expand all Collapse all v2 v2.0.0 Jan 9, 2020 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 + DB int + Host string + IdleTimeout time.Duration + MaxRetries int + Password string + Port string + ReadTimeout time.Duration + WriteTimeout time.Duration + type Configs map[string]Config + type Pool = redis.Client + type Registry struct + func NewRegistry(conf Configs) *Registry + func (r *Registry) Close() (err error) + func (r *Registry) Connection() (*redis.Client, error) + func (r *Registry) ConnectionWithName(name string) (_ *redis.Client, err error) Other modules containing this package github.com/gozix/goredis github.com/gozix/goredis/v3 github.com/gozix/goredis/v4