Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New
deprecated
New wraps a handler and aborts the process of the handler if the timeout is reached.
Deprecated: This implementation contains data race issues. Use NewWithContext instead. Find documentation and sample usage on https://docs.gofiber.io/api/middleware/timeout
func NewWithContext ¶ added in v2.44.0
NewWithContext implementation of timeout middleware. Set custom errors(context.DeadlineExceeded vs) for get fiber.ErrRequestTimeout response.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.