Documentation ¶
Overview ¶
Package middleware contains http.Handler functions
Index ¶
Constants ¶
View Source
const ( // XRequestIDHeader header name. XRequestIDHeader string = "X-Request-Id" // JWTCookieName session cookie name. JWTCookieName string = "plantbook_token" )
Variables ¶
This section is empty.
Functions ¶
func GetRequestID ¶
GetRequestID extracts X-Request-Id value from htt.Request.Header.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.