Documentation ¶
Index ¶
- func DelKey(key string, pool *redis.Pool) error
- func GetInt(key string, pool *redis.Pool) (int, error)
- func GetKeysByPattern(pattern string, pool *redis.Pool) ([]string, error)
- func GetObject(key string, obj interface{}, pool *redis.Pool) (bool, error)
- func GetRedisPool(address, password string, maxConnection int) *redis.Pool
- func GetSetUint64(key string, value uint64, pool *redis.Pool) (uint64, error)
- func GetString(key string, pool *redis.Pool) (string, error)
- func GetUint64(key string, pool *redis.Pool) (uint64, error)
- func Incr(key string, ttl int, pool *redis.Pool) error
- func IncrBy(key string, incrAmount uint64, ttl int, pool *redis.Pool) error
- func Publish(channel, message string, pool *redis.Pool) error
- func SetInt(key string, value, ttl int, pool *redis.Pool) error
- func SetKeyExpire(key string, ttl int, pool *redis.Pool) error
- func SetObject(key string, obj interface{}, ttl int, pool *redis.Pool) error
- func SetString(key, value string, ttl int, pool *redis.Pool) error
- func SetUint64(key string, value uint64, ttl int, pool *redis.Pool) error
- func Test(address, password string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.