echo

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RequestID = "Request-Id"
	Timezone  = "Timezone"
	TenantID  = "Tenant-Id"
)

predefined header.

Variables

This section is empty.

Functions

func GetRequestID

func GetRequestID(c echo.Context) zap.Field

GetRequestID get Request-Id from header.

func GetTimezone

func GetTimezone(c echo.Context) zap.Field

GetTimezone get Timezone from header.

func Logger

func Logger(next echo.HandlerFunc) echo.HandlerFunc

func MutateContext

func MutateContext(c echo.Context) context.Context

MutateContext mutate context.

func Recover

func Recover(next echo.HandlerFunc) echo.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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