sqlite

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package sqlite provides the official durable SQLite implementation of the workerkit StateStore port.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrDatabaseInUse means another live process or Resource owns the same
	// file-backed state database.
	ErrDatabaseInUse = errors.New("workerkit state database is already held by another live owner")

	// ErrUnsupportedSchema rejects migration and accidental database sharing:
	// only an empty database or the exact current schema is accepted.
	ErrUnsupportedSchema = errors.New("unsupported workerkit state sqlite schema; recreate database")

	// ErrRecordTooLarge rejects a conversation whose encoded form exceeds the
	// at-rest budget.
	ErrRecordTooLarge = errors.New("workerkit conversation exceeds the state record limit")
)

Functions

func Open

Open constructs an owned SQLite StateStore Resource. Path may be an ordinary filesystem path or an independent :memory: database. ctx bounds construction only.

Types

type Config

type Config struct {
	Path string
}

Config selects one dedicated state persistence identity.

Jump to

Keyboard shortcuts

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