Documentation ¶
Index ¶
- Variables
- func CloseRedis()
- func DelKey(key string) error
- func GET(key string) int64
- func HDEL(keys []interface{}) (int64, error)
- func HKEYS(key string) ([]string, error)
- func HSET(key string, field interface{}, value interface{}) (int64, error)
- func HasKey(key string) bool
- func INCR(key string) int
- func InitRedis()
- func PingRedis(c redis.Conn, t time.Time) error
- func Set(key string, value interface{}) error
- func SetWithTTL(key string, value interface{}, ttl int) error
Constants ¶
This section is empty.
Variables ¶
View Source
var RedisConnPool *redis.Pool
Functions ¶
func CloseRedis ¶
func CloseRedis()
func SetWithTTL ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.