Documentation
¶
Index ¶
- func Del(cachePool *redis.Pool, key string) error
- func Get(cachePool *redis.Pool, ket string) (interface{}, error)
- func GetBool(cachePool *redis.Pool, key string) (bool, error)
- func GetBytes(cachePool *redis.Pool, key string) ([]byte, error)
- func GetFloat64(cachePool *redis.Pool, key string) (float64, error)
- func GetInt(cachePool *redis.Pool, key string) (int, error)
- func GetInt64(cachePool *redis.Pool, key string) (int64, error)
- func GetString(cachePool *redis.Pool, key string) (string, error)
- func GetUint64(cachePool *redis.Pool, key string) (uint64, error)
- func RunAdd(cachePool *redis.Pool, key string, v interface{}, d time.Duration) error
- func RunDelete(cachePool *redis.Pool, key string) error
- func RunExist(cachePool *redis.Pool, key string) (bool, error)
- func RunFlush(cachePool *redis.Pool) error
- func RunReplace(cachePool *redis.Pool, key string, v interface{}, d time.Duration) error
- func RunSet(cachePool *redis.Pool, key string, v interface{}, d time.Duration) error
- func Set(cachePool *redis.Pool, args []interface{}, d time.Duration) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFloat64 ¶
GetFloat64 redis interface option
func RunReplace ¶
RunReplace redis option
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.