Documentation
¶
Index ¶
Constants ¶
View Source
const (
// HeaderRequestID hold the header name to which the RIP is attached
HeaderRequestID = "X-Request-Id"
)
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(next webfmwk.HandlerFunc) webfmwk.HandlerFunc
Handler generate an request ID and log information about the newly receive request The logger is then overloaded to add the request ID to every futur log message
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.