txstore

package
v1.24.10 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func NewStore

func NewStore(homeDir string, logger logrus.FieldLogger) *Store

func (*Store) Close

func (s *Store) Close() error

func (*Store) DeleteTx

func (s *Store) DeleteTx(ctx context.Context, txId string) error

func (*Store) IterateAll

func (s *Store) IterateAll(ctx context.Context,
	cb func(tx *cluster.Transaction),
) error

func (*Store) Open

func (s *Store) Open() error

func (*Store) SetUmarshalFn

func (s *Store) SetUmarshalFn(fn unmarshalFn)

func (*Store) StoreTx

func (s *Store) StoreTx(ctx context.Context, tx *cluster.Transaction) error

Jump to

Keyboard shortcuts

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