trace

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TraceMiddleware

func TraceMiddleware(traceField, traceHeaderKey string, handler http.Handler) http.Handler

TraceMiddleware provides middleware to inject traceID traceField is a log field for storing the traceID traceHeaderKey is a HTTP header key that contains request traceID (if provided by client)

Types

This section is empty.

Jump to

Keyboard shortcuts

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