redis

package
v21.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTxManager

func NewTxManager(redisClient *redis.Client) mvc.TxManager

NewTxManager creates a new TxManager.

Types

type RedisTxManager

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

RedisTxManager is a structure encapsulating creation of atomic transactions.

func (*RedisTxManager) StartTx

func (rm *RedisTxManager) StartTx() mvc.Tx

StartTx implements mvc.AtomicRepositoryManager.

Jump to

Keyboard shortcuts

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