inmemory

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLocker

func NewLocker(l Locker) *locker

Types

type Locker

type Locker interface {
	Lock(id *token.ID, txID string, reclaim bool) (string, error)
	UnlockByTxID(txID string)
}

type Vault

type Vault interface {
	Status(id string) (int, error)
}

Jump to

Keyboard shortcuts

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