middlewares

package
v0.0.0-...-14e119e Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TxnHeader allow to trace logs of a request
	TxnHeader = "X-App-Txn"
)

Variables

This section is empty.

Functions

func CORS

func CORS() echo.MiddlewareFunc

CORS handle preflight request the default middleware is not used because we have to set dynamically the origin

func Logger

func Logger() echo.MiddlewareFunc

Logger middleware

Types

This section is empty.

Jump to

Keyboard shortcuts

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