requestid

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const KeyRequestID = "X-Request-Id"

KeyRequestID is XRequestId key

Variables

This section is empty.

Functions

func GetRequestID

func GetRequestID(r *http.Request) string

GetRequestID returns XRequestId

Types

type RequestContextKey added in v1.7.4

type RequestContextKey string

func GetRequestIDKey added in v1.7.4

func GetRequestIDKey() RequestContextKey

Jump to

Keyboard shortcuts

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