cacheinfo

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2020 License: GPL-3.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Del

func Del(cachePool *redis.Pool, key string) error

Del redis command

func Get

func Get(cachePool *redis.Pool, ket string) (interface{}, error)

Get redis command

func GetBool

func GetBool(cachePool *redis.Pool, key string) (bool, error)

GetBool redis interface option

func GetBytes

func GetBytes(cachePool *redis.Pool, key string) ([]byte, error)

GetBytes redis interface option

func GetFloat64

func GetFloat64(cachePool *redis.Pool, key string) (float64, error)

GetFloat64 redis interface option

func GetInt

func GetInt(cachePool *redis.Pool, key string) (int, error)

GetInt redis interface option

func GetInt64

func GetInt64(cachePool *redis.Pool, key string) (int64, error)

GetInt64 redis interface option

func GetString

func GetString(cachePool *redis.Pool, key string) (string, error)

GetString redis interface option

func GetUint64

func GetUint64(cachePool *redis.Pool, key string) (uint64, error)

GetUint64 redis interface option

func RunAdd

func RunAdd(cachePool *redis.Pool, key string, v interface{}, d time.Duration) error

RunAdd redis option

func RunDelete

func RunDelete(cachePool *redis.Pool, key string) error

RunDelete redis interface option

func RunExist

func RunExist(cachePool *redis.Pool, key string) (bool, error)

RunExist redis option

func RunFlush

func RunFlush(cachePool *redis.Pool) error

RunFlush redis interface option

func RunReplace

func RunReplace(cachePool *redis.Pool, key string, v interface{}, d time.Duration) error

RunReplace redis option

func RunSet

func RunSet(cachePool *redis.Pool, key string, v interface{}, d time.Duration) error

RunSet redis interface option

func Set

func Set(cachePool *redis.Pool, args []interface{}, d time.Duration) (interface{}, error)

Set redis command

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL