memory

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct{}

func (Driver) Open

type Persistence

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

func (*Persistence) AddMovement

func (p *Persistence) AddMovement(record *driver.MovementRecord) error

func (*Persistence) AddTransaction

func (p *Persistence) AddTransaction(record *driver.TransactionRecord) error

func (*Persistence) BeginUpdate

func (p *Persistence) BeginUpdate() error

func (*Persistence) Close

func (p *Persistence) Close() error

func (*Persistence) Commit

func (p *Persistence) Commit() error

func (*Persistence) Discard

func (p *Persistence) Discard() error

func (*Persistence) QueryMovements

func (p *Persistence) QueryMovements(params driver.QueryMovementsParams) ([]*driver.MovementRecord, error)

func (*Persistence) QueryTransactions

func (*Persistence) SetStatus

func (p *Persistence) SetStatus(txID string, status driver.TxStatus) error

type TransactionIterator

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

func (*TransactionIterator) Close

func (t *TransactionIterator) Close()

func (*TransactionIterator) Next

Jump to

Keyboard shortcuts

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