1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-24 12:25:57 +00:00

add example for simple http.Handler wrapper

This commit is contained in:
kataras
2022-06-19 10:01:18 +03:00
parent ef2643b046
commit 9dc356c1d8
4 changed files with 64 additions and 2 deletions

View File

@@ -70,7 +70,8 @@
* Convert net/http Handlers
* [From func(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)](convert-handlers/negroni-like/main.go)
* [From http.Handler or http.HandlerFunc](convert-handlers/nethttp/main.go)
* [From func(http.HandlerFunc) http.HandlerFunc](convert-handlers/real-usecase-raven/writing-middleware/main.go)
* [From func(http.Handler) http.Handler](convert-handlers/wrapper/main.go)
* [Convert by your own: sentry/raven middleware](convert-handlers/real-usecase-raven/writing-middleware/main.go)
* [Rewrite Middleware](routing/rewrite/main.go)
* [Route State](routing/route-state/main.go)
* [Remove Route](routing/remove-route/main.go)