1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +02:00

Added MiddlewareFunc to the list of supported middleware, #47.

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana 2015-05-10 21:12:28 -07:00
parent 7f92fbf3ce
commit 6e251861db

View File

@ -6,9 +6,10 @@ 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
- `func(*echo.Context)`
- `func(*echo.Context) *echo.HTTPError`
- `MiddlewareFunc`
- `func(echo.HandlerFunc) echo.HandlerFunc`
- `func(*echo.Context) *echo.HTTPError`
- `func(*echo.Context)`
- `func(http.Handler) http.Handler`
- `http.Handler`
- `http.HandlerFunc`