Back to godoc.org
github.com/btubbs/ginrequestid

Package ginrequestid

v0.0.0-...-7ce47d2
Latest Go to latest

The highest tagged major version is .

Published: Feb 2, 2019 | License: GPL3 | Module: github.com/btubbs/ginrequestid

Overview

ginrequestid

Set an UUID4 string as Request ID into response headers ("X-Request-Id") and expose that value as "RequestId" in order to use it inside the application for logging or propagation to other systems.

Index

func RequestId

func RequestId() gin.HandlerFunc
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier