Versions in this module Expand all Collapse all v0 v0.1.0 Oct 25, 2019 Changes in this version + var DefaultKey = "gotilCacheRedis" + func NewRedisCache() cache.Cache + type Cache struct + DbNum int + Host string + Key string + Password string + Port string + func (rc *Cache) ClearAll() error + func (rc *Cache) Delete(key string) error + func (rc *Cache) Get(key string) interface{} + func (rc *Cache) GetMulti(keys []string) []interface{} + func (rc *Cache) IsExist(key string) bool + func (rc *Cache) Put(key string, val interface{}, timeout time.Duration) error + func (rc *Cache) StartCache(config string) error