mirror of
https://github.com/labstack/echo.git
synced 2025-01-24 03:16:14 +02:00
Update README
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
parent
682a5580b7
commit
986338c805
24
README.md
24
README.md
@ -234,18 +234,18 @@ e.GET("/users", func(c echo.Context) error {
|
||||
|
||||
Middleware | Description
|
||||
:--- | :---
|
||||
[BodyLimit](https://labstack.com/echo/guide/middleware#bodylimit-middleware:37ab2f15ff048f67959bcac0a6032f32) | Limit request body
|
||||
[Logger](https://labstack.com/echo/guide/middleware#logger-middleware:37ab2f15ff048f67959bcac0a6032f32) | Log HTTP requests
|
||||
[Recover](https://labstack.com/echo/guide/middleware#recover-middleware:37ab2f15ff048f67959bcac0a6032f32) | Recover from panics
|
||||
[Gzip](https://labstack.com/echo/guide/middleware#gzip-middleware:37ab2f15ff048f67959bcac0a6032f32) | Send gzip HTTP response
|
||||
[BasicAuth](https://labstack.com/echo/guide/middleware#basicauth-middleware:37ab2f15ff048f67959bcac0a6032f32) | HTTP basic authentication
|
||||
[JWTAuth](https://labstack.com/echo/guide/middleware#jwtauth-middleware:37ab2f15ff048f67959bcac0a6032f32) | JWT authentication
|
||||
[Secure](https://labstack.com/echo/guide/middleware#secure-middleware:37ab2f15ff048f67959bcac0a6032f32) | Protection against attacks
|
||||
[CORS](https://labstack.com/echo/guide/middleware#cors-middleware:37ab2f15ff048f67959bcac0a6032f32) | Cross-Origin Resource Sharing
|
||||
[Static](https://labstack.com/echo/guide/static-files#using-static-middleware:123f9d1043075fe4874616541b409e4d) | Serve static files
|
||||
[AddTrailingSlash](https://labstack.com/echo/guide/middleware#addtrailingslash-middleware:37ab2f15ff048f67959bcac0a6032f32) | Add trailing slash to the request URI
|
||||
[RemoveTrailingSlash](https://labstack.com/echo/guide/middleware#removetrailingslash-middleware:37ab2f15ff048f67959bcac0a6032f32) | Remove trailing slash from the request URI
|
||||
[MethodOverride](https://labstack.com/echo/guide/middleware#method-override-middleware:37ab2f15ff048f67959bcac0a6032f32) | Override request method
|
||||
[BodyLimit](https://labstack.com/echo/guide/body-limit-middleware) | Limit request body
|
||||
[Logger](https://labstack.com/echo/guide/logger-middleware) | Log HTTP requests
|
||||
[Recover](https://labstack.com/echo/guide/recover-middleware) | Recover from panics
|
||||
[Gzip](https://labstack.com/echo/guide/gzip-middleware) | Send gzip HTTP response
|
||||
[BasicAuth](https://labstack.com/echo/guide/basic-auth-middleware) | HTTP basic authentication
|
||||
[JWTAuth](https://labstack.com/echo/guide/jwt-auth-middleware) | JWT authentication
|
||||
[Secure](https://labstack.com/echo/guide/secure-middleware) | Protection against attacks
|
||||
[CORS](https://labstack.com/echo/guide/cors-middleware) | Cross-Origin Resource Sharing
|
||||
[Static](https://labstack.com/echo/guide/static-middleware) | Serve static files
|
||||
[AddTrailingSlash](https://labstack.com/echo/guide/add-trailing-slash-middleware) | Add trailing slash to the request URI
|
||||
[RemoveTrailingSlash](https://labstack.com/echo/guide/remove-trailing-slash-middleware) | Remove trailing slash from the request URI
|
||||
[MethodOverride](https://labstack.com/echo/guide/method-override-middleware) | Override request method
|
||||
|
||||
##### [More...](https://labstack.com/echo/guide/middleware)
|
||||
|
||||
|
@ -24,7 +24,7 @@ var (
|
||||
)
|
||||
|
||||
// MethodOverride returns a method override middleware.
|
||||
// Method override middleware checks for the overridden method from the request and
|
||||
// MethodOverride middleware checks for the overridden method from the request and
|
||||
// uses it instead of the original method.
|
||||
//
|
||||
// For security reasons, only `POST` method can be overridden.
|
||||
|
Loading…
x
Reference in New Issue
Block a user