Help us shape the future of Go! Take the 2026 Go Developer Survey

storage

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package storage defines transactional document persistence for native stores.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Document

type Document interface {
	Read(context.Context) ([]byte, error)
	Update(context.Context, func([]byte) ([]byte, error)) error
}

Document updates must commit before returning; nil deletes the document.

Directories

Path Synopsis
Package sqlite supplies explicitly opened native persistence.
Package sqlite supplies explicitly opened native persistence.

Jump to

Keyboard shortcuts

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