middleware

package
v0.0.0-...-841f565 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TxnKey = "txn"

TxnKey used for storing and pulling a database transaction from the fiber context

Functions

This section is empty.

Types

type Transaction

type Transaction interface {
	Commit() error
	Rollback() error
}

Transaction is an interface for wrapping one or more database actions together

Jump to

Keyboard shortcuts

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