tracker

package
v0.0.0-...-c80c473 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: MIT Imports: 3 Imported by: 0

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

func FetchXTracker(ctx context.Context) string

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.

Jump to

Keyboard shortcuts

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