sqlitestore

package
v1.115.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package sqlitestore provides the file-backed SQLite implementation of session.Store. It lives in its own package so that pkg/session — and through it pkg/runtime — does not link the modernc.org/sqlite driver into embedders that only use the in-memory store or bring their own database (see session.NewSQLiteSessionStoreFromDB).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, path string) (session.Store, error)

New creates a new SQLite session store backed by a file at path. If migrations fail (other than a version mismatch or a filesystem open failure) the existing database is moved aside to <path>.bak and a fresh one is created.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL