middleware

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const RequestIDHeader = "X-Request-ID"

RequestIDHeader is the header name for request ID

Variables

This section is empty.

Functions

func RequestCorrelationMiddleware

func RequestCorrelationMiddleware(next http.Handler) http.Handler

RequestCorrelationMiddleware adds request correlation ID and enriches context

func VendorContextMiddleware

func VendorContextMiddleware(next http.Handler) http.Handler

VendorContextMiddleware enriches context with vendor information from request body

Types

This section is empty.

Jump to

Keyboard shortcuts

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