Versions in this module Expand all Collapse all v0 v0.1.0 Mar 18, 2026 Changes in this version + type Option func(*SQLiteStorage) + func WithLockTTL(d time.Duration) Option + func WithOwnerID(id string) Option + func WithQueryTimeout(d time.Duration) Option + type SQLiteStorage struct + func New(dsn string, opts ...Option) (*SQLiteStorage, error) + func NewWithDB(db *sql.DB, opts ...Option) (*SQLiteStorage, error) + func (s *SQLiteStorage) Close() error + func (s *SQLiteStorage) Delete(ctx context.Context, key string) error + func (s *SQLiteStorage) Exists(ctx context.Context, key string) bool + func (s *SQLiteStorage) List(ctx context.Context, prefix string, recursive bool) (_ []string, retErr error) + func (s *SQLiteStorage) Load(ctx context.Context, key string) ([]byte, error) + func (s *SQLiteStorage) Lock(ctx context.Context, name string) error + func (s *SQLiteStorage) Stat(ctx context.Context, key string) (certmagic.KeyInfo, error) + func (s *SQLiteStorage) Store(ctx context.Context, key string, value []byte) error + func (s *SQLiteStorage) Unlock(ctx context.Context, name string) error