Documentation ¶
Index ¶
Constants ¶
View Source
const ( ActiveServer = RedisState(0) DownServer = RedisState(1) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redis ¶
type Redis struct { *redis.Client State RedisState `json:"state"` Options *redis.Options }
func (*Redis) MarshalJSON ¶
type RedisManager ¶
type RedisManager struct {
// contains filtered or unexported fields
}
func NewRedisManager ¶
func NewRedisManager(conf *config.Config) *RedisManager
type RedisState ¶
type RedisState int
Click to show internal directories.
Click to hide internal directories.