tx

package
v0.0.0-...-273060c Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingDB = httperr.New(500, "missing database middleware")

Functions

func Acquire

func Acquire(r *http.Request, fn func(*db.Tx) error) error

func RAcquire

func RAcquire(r *http.Request, fn func(*db.ReadTx) error) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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