requestid

package
v0.0.0-...-64e8fac Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

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

HeaderXRequestID X-Request-ID header

Variables

This section is empty.

Functions

func FromContext

func FromContext(ctx context.Context) (string, error)

func Middleware

func Middleware(skippers ...middleware.Skipper) gin.HandlerFunc

Middleware add X-Request-ID header in the http request when not exist

Types

This section is empty.

Jump to

Keyboard shortcuts

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