Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conf ¶
type Conf struct { Host string `json:"host"` Port int `json:"port"` Username string `json:"username"` Password string `json:"password"` DB int `json:"db"` MaxActive int `json:"max_active"` MaxIdle int `json:"max_idle"` Timeout time.Duration `json:"timeout"` KeyPrefix string `json:"key_prefix"` // If this is set, 'check' and 'close' events will be PUBLISHed to // to this Redis key (Redis PubSub). PublishKey string `json:"publish_key"` }
Click to show internal directories.
Click to hide internal directories.