store

package
v0.11.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewID

func NewID() string

Types

type Store

type Store struct {
	// contains filtered or unexported fields
}

func Open

func Open(path, hostName string) (*Store, error)

func (*Store) ChangesSince

func (s *Store) ChangesSince(revision uint64) <-chan struct{}

func (*Store) Snapshot

func (s *Store) Snapshot() api.State

func (*Store) SnapshotVersion

func (s *Store) SnapshotVersion() (api.State, uint64)

func (*Store) Update

func (s *Store) Update(fn func(*api.State) error) error

Jump to

Keyboard shortcuts

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