Documentation ¶
Index ¶
- Variables
- func ChainMiddlewares(handler http.Handler, middlewares ...Middleware) http.Handler
- func ConcatError(errs []error) error
- func IsNil(i any) bool
- func WrapForbidden(err error) error
- func WrapInternal(err error) error
- func WrapInvalid(err error) error
- func WrapMethodNotAllowed(err error) error
- func WrapNotFound(err error) error
- func WrapUnauthorized(err error) error
- type Middleware
- type Pinger
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ChainMiddlewares ¶
func ChainMiddlewares(handler http.Handler, middlewares ...Middleware) http.Handler
func ConcatError ¶
func WrapForbidden ¶ added in v4.3.0
func WrapInternal ¶
func WrapInvalid ¶
func WrapMethodNotAllowed ¶
func WrapNotFound ¶
func WrapUnauthorized ¶ added in v4.3.0
Types ¶
Click to show internal directories.
Click to hide internal directories.