package
Version:
v0.0.18
Opens a new window with list of versions in this module.
Published: May 7, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func LogRequest() echo.MiddlewareFunc
LogRequest logs the HTTP request to the server. Maybe at some point I'll log the resp too, but that looks harder
func TraceID() echo.MiddlewareFunc
TraceID adds X-Request-ID: <trace-id> to response headers.
It reads the traceID from the context so should be .Used after otelecho.Middleware
Source Files
¶
Click to show internal directories.
Click to hide internal directories.