Versions in this module Expand all Collapse all v0 v0.0.1 Mar 14, 2019 Changes in this version + const NilReply + func IsCacheErr(err error) bool + type Cache interface + Reader func() aredis.Commander + Writer func() aredis.Commander + type RedisCache struct + Read *aredis.Client + Write *aredis.Client + func NewAlaudaRedis(opts aredis.Options, writerOpts aredis.Options) (*RedisCache, error) + func NewRedis(opts RedisOpts, writeOpts RedisOpts) (*RedisCache, error) + func (r *RedisCache) Diagnose() diagnose.ComponentReport + func (r *RedisCache) Reader() aredis.Commander + func (r *RedisCache) Writer() aredis.Commander + type RedisOpts struct + DB int + Host string + Password string + Port int + func (r RedisOpts) GetAddr() string