storage

package
v4.0.19 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package storage provides opaque storage values for ordinary Floret hosts. Transactional backend implementation belongs to the advanced storage/spi package and cannot be used to query a runtime-owned Source.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source storagebridge.Source

Source is an opaque storage configuration consumed exclusively by runtime.Open. It deliberately has no exported methods.

func Memory

func Memory() Source

Memory returns an in-memory Source suitable for production ephemeral use and deterministic tests.

func NewSource

func NewSource(source spi.Source) Source

NewSource seals an advanced backend implementation for use by runtime.Open. Applications that use only official storage constructors do not need this function.

func SQLite

func SQLite(path string) Source

SQLite returns a Source backed by the SQLite file at path. The physical database contains only backend metadata and opaque namespaced records.

Directories

Path Synopsis
Package spi defines the advanced physical storage implementation contract.
Package spi defines the advanced physical storage implementation contract.

Jump to

Keyboard shortcuts

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