memory

package
v0.0.0-...-769d54b Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

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

func NewRepo

func NewRepo() *Repo

func (*Repo) TxManager

func (r *Repo) TxManager() repository.TxManager

type TxManager

type TxManager struct{}

func (*TxManager) ReadOnlyTx

func (t *TxManager) ReadOnlyTx(ctx context.Context, txFunc func(ctx context.Context) error) error

func (*TxManager) ReadWriteTx

func (t *TxManager) ReadWriteTx(ctx context.Context, txFunc func(ctx context.Context) error) error

Jump to

Keyboard shortcuts

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