Documentation ¶
Index ¶
Constants ¶
View Source
const BundleName = "redigo"
BundleName is default definition name.
View Source
const DEFAULT = "default"
DEFAULT is default connection name.
Variables ¶
View Source
var ( // ErrUnknownConnection is error triggered when connection with provided name not founded. ErrUnknownConnection = errors.New("unknown connection") )
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.