The highest tagged major version is
v2 .
Discover Packages
gh.tarampamp.am/webhook-tester
internal
http
middlewares
panic
package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Feb 23, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package panic contains middleware for panics (inside HTTP handlers) logging using "zap" package.
func New(log *zap .Logger ) echo.MiddlewareFunc
New creates mux.MiddlewareFunc for panics (inside HTTP handlers) logging using "zap" package. Also it allows
to respond with JSON-formatted error string instead empty response.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.