panic

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package panic contains middleware for panics (inside HTTP handlers) logging using "zap" package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL