1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-28 21:08: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:
Vishal Rana 2015-05-10 21:13:14 -07:00
parent 6e251861db
commit 3b87f90bfd
2 changed files with 4 additions and 3 deletions

View File

@ -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)`

View File

@ -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`