Versions in this module Expand all Collapse all v0 v0.0.2 Dec 2, 2020 v0.0.1 Dec 1, 2020 Changes in this version + const DefaultCollection + const DefaultFreshnessIntervalSeconds + const DefaultMaxPollSeconds + const DefaultMinPollSeconds + const EnvNameAesKey + const EnvNameAesKeySecretId + const EnvNameProjectId + func IsDocNotFound(err error) bool + func UTCNow() time.Time + type Record struct + CreatedAt time.Time + Locked bool + LockedAt time.Time + Raw []byte + UpdatedAt time.Time + type Storage struct + AESKeySecretId string + AesKey []byte + Collection string + FreshnessSeconds int + MaxPollSeconds int + MinPollSeconds int + ProjectId string + func New() *Storage + func (s *Storage) CaddyModule() caddy.ModuleInfo + func (s *Storage) CertMagicStorage() (certmagic.Storage, error) + func (s *Storage) Delete(key string) error + func (s *Storage) Exists(key string) bool + func (s *Storage) List(prefix string, recursive bool) ([]string, error) + func (s *Storage) Load(key string) ([]byte, error) + func (s *Storage) Lock(ctx context.Context, key string) error + func (s *Storage) Provision(ctx caddy.Context) error + func (s *Storage) Stat(key string) (certmagic.KeyInfo, error) + func (s *Storage) Store(key string, value []byte) error + func (s *Storage) Unlock(key string) error + func (s *Storage) UnmarshalCaddyfile(d *caddyfile.Dispenser) error