Versions in this module Expand all Collapse all v1 v1.0.2 Feb 18, 2026 v1.0.1 Feb 18, 2026 Changes in this version + var ErrInvalidMaxOpenConns = errors.New("sqlite: MaxOpenConns must be >= 0") + var ErrInvalidPath = errors.New("sqlite: Path must not be empty") + type Config struct + CleanupInterval time.Duration + MaxOpenConns int + Path string + WALMode *bool + type SQLiteStore struct + func New(cfg Config) (*SQLiteStore, error) + func (s *SQLiteStore) Clear(ctx context.Context) error + func (s *SQLiteStore) Close() error + func (s *SQLiteStore) Delete(ctx context.Context, key string) error + func (s *SQLiteStore) Get(ctx context.Context, key string) ([]byte, error) + func (s *SQLiteStore) Set(ctx context.Context, key string, value []byte, ttl time.Duration) error