mirror of
https://github.com/labstack/echo.git
synced 2024-11-28 08:38:39 +02:00
Added MiddlewareFunc to the list of supported middleware, #47.
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
parent
6e251861db
commit
3b87f90bfd
@ -6,7 +6,7 @@ Echo is a fast HTTP router (zero memory allocation) and micro web framework in G
|
||||
- Fast :rocket: HTTP router which smartly prioritize routes.
|
||||
- Extensible middleware/handler, supports:
|
||||
- Middleware
|
||||
- `MiddlewareFunc`
|
||||
- `echo.MiddlewareFunc`
|
||||
- `func(echo.HandlerFunc) echo.HandlerFunc`
|
||||
- `func(*echo.Context) *echo.HTTPError`
|
||||
- `func(*echo.Context)`
|
||||
|
@ -13,9 +13,10 @@ Echo is a fast HTTP router (zero memory allocation) and micro web framework in G
|
||||
- Fast HTTP router which smartly prioritize routes.
|
||||
- Extensible middleware/handler, supports:
|
||||
- Middleware
|
||||
- `func(*echo.Context)`
|
||||
- `func(*echo.Context) *echo.HTTPError`
|
||||
- `echo.MiddlewareFunc`
|
||||
- `func(echo.HandlerFunc) echo.HandlerFunc`
|
||||
- `func(*echo.Context) *echo.HTTPError`
|
||||
- `func(*echo.Context)`
|
||||
- `func(http.Handler) http.Handler`
|
||||
- `http.Handler`
|
||||
- `http.HandlerFunc`
|
||||
|
Loading…
Reference in New Issue
Block a user