persistence

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FileName = "metadata.sqlite"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func Open

func Open(logDir string) (*Store, bool, error)

func (*Store) Close

func (s *Store) Close() error

func (*Store) Load

func (s *Store) Load(ctx context.Context) ([]byte, error)

func (*Store) Path

func (s *Store) Path() string

func (*Store) Save

func (s *Store) Save(ctx context.Context, payload, metrics []byte) error

Jump to

Keyboard shortcuts

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