Documentation ¶
Index ¶
- Variables
- func CaCheReSet(key string, data interface{}, time ...int) (string, error)
- func CaCheSet(key string, data interface{}) (string, error)
- func CaCheSetEXPIRE(key string, data interface{}, time int64) (bool, error)
- func CacheDelete(key string) (bool, error)
- func CacheExists(key string) bool
- func CacheGet(key string) ([]byte, error)
- func CacheLikeDeletes(key string) error
- func CacheLikeGet(key string) ([]string, error)
- func CloseRedis()
- func InitRedisSdk(cfg *RedisConfig)
- func ReadEnd(queue string) string
- func ReadHeader(queue string) string
- func WriteData(queue string, data interface{}) error
- func WriteEnd(queue, message string) error
- func WriteHeader(queue, message string) error
- type RedisConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var RedisConn *redis.Pool
RedisConn redisconn pool
Functions ¶
func CaCheReSet ¶
CaCheReSet reset
func CaCheSetEXPIRE ¶
CaCheSetEXPIRE expire
Types ¶
Click to show internal directories.
Click to hide internal directories.