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 GetBool ¶
GetBool redis interface option
func GetBytes ¶
GetBytes redis interface option
func GetFloat64 ¶
GetFloat64 redis interface option
func GetInt ¶
GetInt redis interface option
func GetInt64 ¶
GetInt64 redis interface option
func GetString ¶
GetString redis interface option
func GetUint64 ¶
GetUint64 redis interface option
func RunAdd ¶
RunAdd redis option
func RunDelete ¶
RunDelete redis interface option
func RunExist ¶
RunExist redis option
func RunReplace ¶
RunReplace redis option
func RunSet ¶
RunSet redis interface option
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.