db

package
v0.0.0-...-a26c580 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GlobalStore map[string]string

Functions

This section is empty.

Types

type Storage

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

func NewStorage

func NewStorage(load_history bool) (s *Storage)

type Transaction

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

type TransactionStack

type TransactionStack struct {
	Storage *Storage
	// contains filtered or unexported fields
}

func (*TransactionStack) Commit

func (ts *TransactionStack) Commit()

func (*TransactionStack) Count

func (ts *TransactionStack) Count(val string)

func (*TransactionStack) Delete

func (ts *TransactionStack) Delete(key string)

func (*TransactionStack) Get

func (ts *TransactionStack) Get(key string)

func (*TransactionStack) Keys

func (ts *TransactionStack) Keys()

func (*TransactionStack) Peek

func (ts *TransactionStack) Peek() *Transaction

func (*TransactionStack) Persist

func (ts *TransactionStack) Persist()

func (*TransactionStack) PopTransaction

func (ts *TransactionStack) PopTransaction()

func (*TransactionStack) PushTransaction

func (ts *TransactionStack) PushTransaction()

func (*TransactionStack) Rollback

func (ts *TransactionStack) Rollback()

func (*TransactionStack) Set

func (ts *TransactionStack) Set(key, value string)

Jump to

Keyboard shortcuts

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