Categorygithub.com/brendoncarroll/go-state
modulepackage
0.0.0-20230910221854-36bb858ffe8e
Repository: https://github.com/brendoncarroll/go-state.git
Documentation: pkg.go.dev

# README

State

State is a package for managing state.

Cells

Cells are compare-and-swap cells. They support reading and compare-and-swapping the data.

Content-Addressed Data

Content-addressed data stores identify pieces of data by their hash. Posting to the store returns the hash of the data, which can be used later to retrieve the data, and verify that it is correct.

Key-Value Stores

Interfaces for Key-Value and transactional Key-Value stores are defined at state.KVStore and state.KVStoreTx.

POSIXFS

Interfaces and utility functions for dealing with filesystems as defined by POSIX.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
PointSpan returns a Span that contains 1 element.
TotalSpan returns a Span[T] which contains all elements of T.

# Structs

ByteSpan represents a lexicographically sorted span of []byte.
No description provided by the author
Span is a specification for iteration through values of type T.