Versions in this module Expand all Collapse all v1 v1.0.6 Jan 12, 2021 v1.0.5 Jan 12, 2021 Changes in this version + type CacheObject interface + Get func(args string) (string, error) + IsNil func(i interface{}) bool + Set func(key, val string) error + type RedisService struct + Cli *redis.Client + Ctx context.Context + Opt *redis.Options + func NewRedis(opt *redis.Options) (*RedisService, error) + func (r *RedisService) Get(key string) (string, error) + func (r *RedisService) IsNil(err error) bool + func (r *RedisService) Set(key, val string) error