You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The godocs for the Timeout handler should describe what it does.
Actual behaviour
The godocs for the Timeout handler describe what the Recover middleware does.
Steps to reproduce
Working code to debug
$ go doc github.com/labstack/echo/v4/middleware.Timeout
package middleware // import "github.com/labstack/echo/v4/middleware"
func Timeout() echo.MiddlewareFunc
Timeout returns a middleware which recovers from panics anywhere in the
chain and handles the control to the centralized HTTPErrorHandler.
Version/commit
All commits since 67263b5, the first commit where the Timeout middleware function was introduced.
The text was updated successfully, but these errors were encountered:
aldas
added a commit
to aldas/echo
that referenced
this issue
Apr 6, 2021
Issue Description
The Timeout middleware godoc is wrong.
Checklist
Expected behaviour
The godocs for the
Timeout
handler should describe what it does.Actual behaviour
The godocs for the
Timeout
handler describe what theRecover
middleware does.Steps to reproduce
Working code to debug
Version/commit
All commits since 67263b5, the first commit where the
Timeout
middleware function was introduced.The text was updated successfully, but these errors were encountered: