You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add middleware edit for req headers (#58)
* add middleware edit for req headers
* remove the sort from the examples
* add unit tests for the request header editor
split out httpserver.middleware into a new sub-package, with improved…
… API (#50)
* split out httpserver.middleware into a new sub-package, with improved API
* add more tests
* simplify and cleanup middleware implementations, and add/adjust examples
* clean up docs
* clean up examples
* more docs cleanup
* remove loop var capture
* clean up wildcard, add docs and more tests
* make the logger and recovery accept a slog.Handler implementation instead
* add a compliance test, and rewrite the json enforcer example middleware
* add note to header middleware about limitations
* add some guardrails and notes to the example code
* docs
* simplify and fix the json middleware example
* update doc
* docs
* rename
* remove cruft
* roll-back some of the API breaking changes to routes.go, add deprecation notices
remove parentCtx from the httpserver Runnable (#48)
* remove parentCtx from the httpserver Runnable
* use t.Context instead of context.Background for tests