requestid

package
v0.0.0-...-5dc576f Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const HeaderXRequestID = "X-Request-ID"

Variables

This section is empty.

Functions

func Get

func Get(ctx *gin.Context) string

Get gets the request ID from the response writer.

func New

func New() gin.HandlerFunc

New initializes the request ID middleware.

Types

This section is empty.

Jump to

Keyboard shortcuts

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