1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-22 20:06:21 +02:00
echo/middleware
toimtoimtoim 6ef5f77bf2 WIP: logger examples
WIP: make default logger implemented custom writer for jsonlike logs
WIP: improve examples
WIP: defaultErrorHandler use errors.As to unwrap errors. Update readme
WIP: default logger logs json, restore e.Start method
WIP: clean router.Match a bit
WIP: func types/fields have echo.Context has first element
WIP: remove yaml tags as functions etc can not be serialized anyway
WIP: change BindPathParams,BindQueryParams,BindHeaders from methods to functions and reverse arguments to be like DefaultBinder.Bind is
WIP: improved comments, logger now extracts status from error
WIP: go mod tidy
WIP: rebase with 4.5.0
WIP:
* removed todos.
* removed StartAutoTLS and StartH2CServer methods from `StartConfig`
* KeyAuth middleware errorhandler can swallow the error and resume next middleware
WIP: add RouterConfig.UseEscapedPathForMatching to use escaped path for matching request against routes
WIP: FIXMEs
WIP: upgrade golang-jwt/jwt to `v4`
WIP: refactor http methods to return RouteInfo
WIP: refactor static not creating multiple routes
WIP: refactor route and middleware adding functions not to return error directly
WIP: Use 401 for problematic/missing headers for key auth and JWT middleware (#1552, #1402).
> In summary, a 401 Unauthorized response should be used for missing or bad authentication
WIP: replace `HTTPError.SetInternal` with `HTTPError.WithInternal` so we could not mutate global error variables
WIP: add RouteInfo and RouteMatchType into Context what we could know from in middleware what route was matched and/or type of that match (200/404/405)
WIP: make notFoundHandler and methodNotAllowedHandler private. encourage that all errors be handled in Echo.HTTPErrorHandler
WIP: server cleanup ideas
WIP: routable.ForGroup
WIP: note about logger middleware
WIP: bind should not default values on second try. use crypto rand for better randomness
WIP: router add route as interface and returns info as interface
WIP: improve flaky test (remains still flaky)
WIP: add notes about bind default values
WIP: every route can have their own path params names
WIP: routerCreator and different tests
WIP: different things
WIP: remove route implementation
WIP: support custom method types
WIP: extractor tests
WIP: v5.0.x proposal
over v4.4.0
2021-10-02 18:36:42 +03:00
..
basic_auth_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
basic_auth.go WIP: logger examples 2021-10-02 18:36:42 +03:00
body_dump_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
body_dump.go WIP: logger examples 2021-10-02 18:36:42 +03:00
body_limit_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
body_limit.go WIP: logger examples 2021-10-02 18:36:42 +03:00
compress_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
compress.go WIP: logger examples 2021-10-02 18:36:42 +03:00
cors_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
cors.go WIP: logger examples 2021-10-02 18:36:42 +03:00
csrf_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
csrf.go WIP: logger examples 2021-10-02 18:36:42 +03:00
decompress_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
decompress.go WIP: logger examples 2021-10-02 18:36:42 +03:00
DEVELOPMENT.md WIP: logger examples 2021-10-02 18:36:42 +03:00
extractor_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
extractor.go WIP: logger examples 2021-10-02 18:36:42 +03:00
jwt_external_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
jwt_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
jwt.go WIP: logger examples 2021-10-02 18:36:42 +03:00
key_auth_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
key_auth.go WIP: logger examples 2021-10-02 18:36:42 +03:00
logger_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
logger.go WIP: logger examples 2021-10-02 18:36:42 +03:00
method_override_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
method_override.go WIP: logger examples 2021-10-02 18:36:42 +03:00
middleware_test.go Allow proxy middleware to use query part in rewrite (fix #1798) (#1802) 2021-03-09 13:22:11 +01:00
middleware.go WIP: logger examples 2021-10-02 18:36:42 +03:00
proxy_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
proxy.go WIP: logger examples 2021-10-02 18:36:42 +03:00
rate_limiter_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
rate_limiter.go WIP: logger examples 2021-10-02 18:36:42 +03:00
recover_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
recover.go WIP: logger examples 2021-10-02 18:36:42 +03:00
redirect_test.go Fix panic in redirect middleware on short host name (fix #1811) (#1813) 2021-04-06 09:11:31 +02:00
redirect.go WIP: logger examples 2021-10-02 18:36:42 +03:00
request_id_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
request_id.go WIP: logger examples 2021-10-02 18:36:42 +03:00
request_logger_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
request_logger.go WIP: logger examples 2021-10-02 18:36:42 +03:00
rewrite_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
rewrite.go WIP: logger examples 2021-10-02 18:36:42 +03:00
secure_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
secure.go WIP: logger examples 2021-10-02 18:36:42 +03:00
slash_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
slash.go WIP: logger examples 2021-10-02 18:36:42 +03:00
static_1_16_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
static_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
static.go WIP: logger examples 2021-10-02 18:36:42 +03:00
timeout_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
timeout.go WIP: logger examples 2021-10-02 18:36:42 +03:00
util_test.go WIP: logger examples 2021-10-02 18:36:42 +03:00
util.go WIP: logger examples 2021-10-02 18:36:42 +03:00