Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownRequest = errors.InternalServer("UNKNOWN", "unknown request error")
ErrUnknownRequest is unknown request error.
Functions ¶
func Recovery ¶
func Recovery(opts ...Option) middleware.Middleware
Recovery is a server middleware that recovers from any panics.
Types ¶
type HandlerFunc ¶
HandlerFunc is recovery handler func.
Click to show internal directories.
Click to hide internal directories.