Versions in this module Expand all Collapse all v0 v0.1.1 Jul 22, 2016 Changes in this version + var DefualtPrefix = "tc" + type RedisCache struct + func (r *RedisCache) Decr(key string) (int64, error) + func (r *RedisCache) Delete(key string) (err error) + func (r *RedisCache) Flush() (err error) + func (r *RedisCache) Forever(key, val string) (err error) + func (r *RedisCache) Get(key string) string + func (r *RedisCache) Incr(key string) (int64, error) + func (r *RedisCache) MGet(keys []string) []string + func (r *RedisCache) MSet(items map[string]string, timeout int64) (err error) + func (r *RedisCache) Set(key, val string, timeout int64) (err error) + func (r *RedisCache) StartAndGC(opt tagcache.Options) error + func (r *RedisCache) Touch(key string, expire int64) (err error) + type RedisConfig struct + Addr string + IdleTimeout int + MaxActive int + MaxIdle int + Passwd string + SelectDB int + Wait bool