1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-23 21:07:03 +00:00

Add an example on how to use third-party handlers that are not compatible to the "next pattern"

Former-commit-id: 39a57bd97542142cb61eac9b0ee9b40df2334019
This commit is contained in:
Gerasimos (Makis) Maropoulos
2017-10-13 06:59:31 +03:00
parent a9ac0aee2f
commit 21dc2cfbd8
6 changed files with 108 additions and 5 deletions

View File

@@ -234,6 +234,7 @@ convert any custom type into a response dispatcher by implementing the `mvc.Resu
- [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)
### View