Reusable net/http middleware for backend services that want request IDs, real IP extraction, structured logs, panic recovery, and timeouts without pulling in a full framework.
If you copied code from this repo: the low-friction intended path is direct — tip if it saved you implementation time; buy the review only if you want your own repo packaged better.
RequestID middlewareRealIP middlewareRequestLogger on slogRecovery middlewareTimeout middlewareChain / Wrap helpersIf go-http-middleware-kit already saved you copy-paste time, the shameless intended path is a direct thank-you tip on the support page.
go-http-middleware-kit or request-id middleware