Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
Middleware is the HTTP middleware type. It processes the request (potentially mutating it) and gives control to the underlying handler.
func CloseNotifier ¶
func CloseNotifier() Middleware
CloseNotifier cancels the context if client goes away.
func Recover ¶
func Recover(logger interface{}) Middleware
Recover recovers HTTP server from handlers' panics.
Click to show internal directories.
Click to hide internal directories.