Versions in this module Expand all Collapse all v1 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 + func New(config Config) interfaces.Store + 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 + TTL int + WriteTimeout time.Duration + type Redis struct + func (this *Redis) Get(id string, clear bool) string + func (this *Redis) Set(id string, value string) error + func (this *Redis) Verify(id, answer string, clear bool) bool