Versions in this module Expand all Collapse all v0 v0.2.2 Jun 15, 2020 Changes in this version + const DefaultAESKey + const DefaultKeyPrefix + const DefaultRedisDB + const DefaultRedisHost + const DefaultRedisPassword + const DefaultRedisPort + const DefaultRedisTLS + const DefaultRedisTLSInsecure + const DefaultRedisTimeout + const DefaultValuePrefix + const EnvNameAESKey + const EnvNameKeyPrefix + const EnvNameRedisDB + const EnvNameRedisHost + const EnvNameRedisPassword + const EnvNameRedisPort + const EnvNameRedisTimeout + const EnvNameTLSEnabled + const EnvNameTLSInsecure + const EnvNameValuePrefix + const InactiveLockDuration + const LockDuration + const ScanCount + type RedisStorage struct + Address string + AesKey string + Client *redis.Client + ClientLocker *redislock.Client + DB int + Host string + KeyPrefix string + Logger *zap.SugaredLogger + Password string + Port string + Timeout int + TlsEnabled bool + TlsInsecure bool + ValuePrefix string + func (RedisStorage) CaddyModule() caddy.ModuleInfo + func (rd *RedisStorage) DecryptStorageData(bytes []byte) (*StorageData, error) + func (rd *RedisStorage) EncryptStorageData(data *StorageData) ([]byte, error) + func (rd *RedisStorage) GetAESKeyByte() []byte + func (rd *RedisStorage) Provision(ctx caddy.Context) error + func (rd *RedisStorage) UnmarshalCaddyfile(d *caddyfile.Dispenser) error + func (rd RedisStorage) CertMagicStorage() (certmagic.Storage, error) + func (rd RedisStorage) Delete(key string) error + func (rd RedisStorage) Exists(key string) bool + func (rd RedisStorage) List(prefix string, recursive bool) ([]string, error) + func (rd RedisStorage) Load(key string) ([]byte, error) + func (rd RedisStorage) Lock(ctx context.Context, key string) error + func (rd RedisStorage) Stat(key string) (certmagic.KeyInfo, error) + func (rd RedisStorage) Store(key string, value []byte) error + func (rd RedisStorage) Unlock(key string) error + type StorageData struct + Modified time.Time + Value []byte v0.2.1-patched Jun 15, 2020