middlewares

package
v0.0.0-...-7d7a4ac Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultEchorus

func DefaultEchorus() echo.MiddlewareFunc

DefaultEchorus returns the default logger middleware for Echo server.

func Echorus

func Echorus(logger *logrus.Logger, color bool) echo.MiddlewareFunc

Echorus returns the logger middleware for Echo server.

func HTTPErrorHandler

func HTTPErrorHandler(err error, c echo.Context)

HTTPErrorHandler is a middleware that formats rendered errors.

func ProductionEchorus

func ProductionEchorus() echo.MiddlewareFunc

ProductionEchorus returns the production logger middleware for Echo server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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