transaction

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

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware(skippers ...middleware.Skipper) func(http.Handler) http.Handler

Middleware middleware which add transaction for the http request with default config

func MustCommit

func MustCommit(r *http.Request) error

MustCommit mark http.Request as committed so that transaction middleware ignore the status code of the response and commit transaction for this request

Types

This section is empty.

Jump to

Keyboard shortcuts

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