package
0.0.0-20250221084221-cda146333981
Repository: https://github.com/mendersoftware/go-lib-micro.git
Documentation: pkg.go.dev

# Functions

FromContext extracts current request Id from context.Context.
GetReqId helper for retrieving current request Id.
Middleware provides requestid middleware for the gin-gonic framework.
No description provided by the author
No description provided by the author
SetReqId is a helper for setting request ID in request context.
WithContext adds request to context `ctx` and returns the resulting context.

# Constants

No description provided by the author

# Structs

No description provided by the author
RequestIdMiddleware sets the X-MEN-RequestID header if it's not present, and adds the request id to the request logger's context.
TrackingApiClient wrapper for http.Client for sending http requests to outside services with a given request id.

# Interfaces

No description provided by the author