Documentation ¶
Index ¶
Constants ¶
View Source
const BundleName = "redigo"
BundleName is default definition name.
View Source
const (
// DEFAULT is default connection name.
DEFAULT = "default"
)
Variables ¶
View Source
var ErrUnknownConnection = errors.New("unknown connection")
ErrUnknownConnection is error triggered when connection with provided name not founded.
Functions ¶
This section is empty.
Types ¶
type Bundle ¶
type Bundle struct{}
Bundle implements the glue.Bundle interface.
type Config ¶
type Config struct { Host string `json:"host"` Port string `json:"port"` DB int `json:"db"` Password string `json:"password"` MaxIdle int `json:"max_idle"` MaxActive int `json:"max_active"` IdleTimeout time.Duration `json:"idle_timeout"` }
Config is registry configuration item.
Click to show internal directories.
Click to hide internal directories.