Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RequestIdHeaderName = "X-Request-Id"
Functions ¶
func Gen ¶
func Gen(hf http.HandlerFunc) http.HandlerFunc
Gen wraps hf in order to creates unique id and adds it to response headers under header name given by RequestIdHeaderName.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.