transaction

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transaction added in v0.4.1

type Transaction interface {
	// Done renames "lock" directory to "{trxid}" directory
	Done() error

	// ID returns transaction ID
	ID() TrxID
}

Transaction provides transaction methods.

func Start added in v0.4.1

func Start() (Transaction, error)

Start creates $VOLTPATH/trx/lock directory.

type TrxID added in v0.4.1

type TrxID []byte

TrxID is a transaction ID, which is a serial number and directory name of transaction log file.

Jump to

Keyboard shortcuts

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