Documentation ¶
Index ¶
- Variables
- func Exists(key, itemKey string) bool
- func Expire(key string, seconds int) error
- func Get(userKey, itemKey string) (interface{}, bool)
- func GetBool(userKey, itemKey string) (bool, bool)
- func GetBytes(userKey, itemKey string) ([]byte, bool)
- func GetFloat64(userKey, itemKey string) (float64, bool)
- func GetInt(userKey, itemKey string) (int, bool)
- func GetInt64(userKey, itemKey string) (int64, bool)
- func GetInt64Map(userKey, itemKey string) (map[string]int64, bool)
- func GetIntMap(userKey, itemKey string) (map[string]int, bool)
- func GetInts(userKey, itemKey string) ([]int, bool)
- func GetString(userKey, itemKey string) (string, bool)
- func GetStringMap(userKey, itemKey string) (map[string]string, bool)
- func GetStrings(userKey, itemKey string) ([]string, bool)
- func GetUint64(userKey, itemKey string) (uint64, bool)
- func Init()
- func RemoveItem(userKey, itemKey string) bool
- func Store(key, itemKey string, item interface{}) error
- type Plugin
- type Redis
Constants ¶
This section is empty.
Variables ¶
View Source
var PoolMaxIdle = 10
Functions ¶
func GetFloat64 ¶
func GetStrings ¶
func RemoveItem ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.