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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user