Documentation ¶
Overview ¶
Package middleware contains some basic middlewares.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContextTimeout ¶
func WithContextTimeout(timeout time.Duration) router.Middleware
WithContextTimeout returns a middleware that adds a timeout to the context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.