Documentation ¶
Index ¶
Constants ¶
View Source
const XTracker string = "x-tracker"
XTracker - is the web request tracker to track the api request flow through your application.
Variables ¶
This section is empty.
Functions ¶
func FetchXTracker ¶
FetchXTracker - returns the xtracker set in the context
func InstrumentXTracker ¶
func InstrumentXTracker(next http.HandlerFunc) http.HandlerFunc
InstrumentXTracker is the middleware which sets the tracker to your request context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.