middleware

package
v0.0.0-...-41bf266 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTransactionID

func NewTransactionID(next http.Handler) http.Handler

Adds a transaction ID to the request context

Types

type CtxTransactionKeyType

type CtxTransactionKeyType string

type to create context.Context key

const CtxTransactionKey CtxTransactionKeyType = "ctxTransaction"

context.Context key to get the transaction ID from the request context

Jump to

Keyboard shortcuts

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