Versions in this module Expand all Collapse all v1 v1.0.1006 Apr 27, 2024 v1.0.1005 Mar 20, 2024 Changes in this version type Config + Logger iLogger v1.0.1003 Apr 16, 2023 v1.0.1002 Mar 26, 2023 v1.0.1001 Dec 13, 2022 Changes in this version + type Config struct + Addr string + DB int + DialTimeout time.Duration + EnableTrace bool + KeyPrefix string + MinIdleConn int + Password string + PoolSize int + PoolTimeout time.Duration + ReadTimeout time.Duration + WriteTimeout time.Duration + type Redis struct + func New(config Config) Redis + func (this Redis) Check(keys ...string) (bool, error) + func (this Redis) Close() error + func (this Redis) Delete(keys ...string) (bool, error) + func (this Redis) Get(key string, value any) error + func (this Redis) GetClient() *redis.Client + func (this Redis) Set(key string, value any, expiration any) error