Versions in this module Expand all Collapse all v1 v1.5.1 May 24, 2026 v1.5.0 May 24, 2026 Changes in this version + const NonceSize + var ErrInvalidKey = errors.New("invalid key") + var LockExpiration = 2 * time.Minute + var LockPollInterval = 1 * time.Second + var LockTimeout = 15 * time.Second + type CleartextIO struct + func (ci *CleartextIO) ByteReader(buf []byte) Reader + func (ci *CleartextIO) WrapReader(r io.Reader) io.Reader + type IO interface + ByteReader func([]byte) Reader + WrapReader func(io.Reader) io.Reader + type Reader struct + func (r *Reader) Len() int64 + func (r *Reader) Read(buf []byte) (int, error) + func (r *Reader) Seek(offset int64, whence int) (int64, error) + type S3 struct + AccessKey string + Bucket string + Client *s3sdk.Client + EncryptionKey string + Endpoint string + Host string + Insecure bool + Logger *zap.Logger + Prefix string + Profile string + Region string + RoleARN string + SecretKey string + UsePathStyle bool + func (s3 *S3) CaddyModule() caddy.ModuleInfo + func (s3 *S3) CertMagicStorage() (certmagic.Storage, error) + func (s3 *S3) Delete(ctx context.Context, key string) error + func (s3 *S3) Exists(ctx context.Context, key string) bool + func (s3 *S3) List(ctx context.Context, prefix string, recursive bool) ([]string, error) + func (s3 *S3) Load(ctx context.Context, key string) ([]byte, error) + func (s3 *S3) Lock(ctx context.Context, key string) error + func (s3 *S3) Provision(ctx caddy.Context) error + func (s3 *S3) Stat(ctx context.Context, key string) (certmagic.KeyInfo, error) + func (s3 *S3) Store(ctx context.Context, key string, value []byte) error + func (s3 *S3) Unlock(ctx context.Context, key string) error + func (s3 *S3) UnmarshalCaddyfile(d *caddyfile.Dispenser) error + type SecretBoxIO struct + SecretKey [32]byte + func NewSecretBoxIO(key [32]byte) *SecretBoxIO + func (sb *SecretBoxIO) ByteReader(msg []byte) Reader + func (sb *SecretBoxIO) IsValid() bool + func (sb *SecretBoxIO) WrapReader(r io.Reader) io.Reader