middleware

package
v0.0.0-...-aace954 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RequestIDHeader = http.CanonicalHeaderKey("X-Request-Id")

Functions

func InitializeRequest

func InitializeRequest(logger *zap.Logger) func(next http.Handler) http.Handler

InitializeRequest initializes a request with a logger, request id, and trace

Types

This section is empty.

Jump to

Keyboard shortcuts

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