Documentation ¶
Index ¶
- func CreateCacheKey(value string) (cacheKey string)
- func DelKey(key string) (v int64)
- func ExpireAt(key string, expire time.Time) (ex bool)
- func FlushDB()
- func GetAllKeys() (v []string)
- func GetKey(key string) (string, error)
- func GetListKeys(key string) (v []string)
- func GetTTL(key string) (td time.Duration)
- func NewRedisClient()
- func SetKey(key string, value interface{}) error
- func SetKeyWithExpired(key string, value interface{}, expiredStr string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCacheKey ¶
func GetAllKeys ¶
func GetAllKeys() (v []string)
func GetListKeys ¶
func SetKeyWithExpired ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.