sqlite

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package sqlite provides durable SQLite storage.

A store here holds **as many datasets as it is given**, in one file, keyed by dataset. Create them with CreateDataset, list what a caller may use with Datasets, and address each by identity. "Single-process" describes the writer, not the contents: one process at a time serves a file, and that process can serve any number of datasets in it.

Do not read the single-dataset behaviour of the reference server as this package's limit. That is a deployment choice made by cmd/tesserad, and the in-memory evaluator in pkg/store/memory really does hold exactly one — which makes the two easy to confuse in the wrong direction.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RestoreBackup

func RestoreBackup(ctx context.Context, source, destination, contentDirectory, retirementFence string, key []byte, hostDirectory ...string) error

Types

type Store

type Store = sqlengine.Store

func Open

func Open(ctx context.Context, path string, limits p.Limits) (*Store, error)

Jump to

Keyboard shortcuts

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