Documentation ¶
Index ¶
- Constants
- Variables
- func Close()
- func Delete(key string) error
- func Exists(key string) (bool, error)
- func Expire(key string) (bool, error)
- func Get(key string) ([]byte, error)
- func GetKeys(pattern string) ([]string, error)
- func GetValues(key string) []string
- func Incr(counterKey string) (int, error)
- func Ping()
- func PushValue(list string, value string) error
- func RemoveValue(list string, value string) error
- func Set(key string, value []byte) error
Constants ¶
View Source
const TTL = "60"
TTL Time to live
Variables ¶
View Source
var ( // Pool redis Pool *redis.Pool )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.