middlewares

package
Version: v8.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequestIDMiddleware

func RequestIDMiddleware(ctx *atreugo.RequestCtx) (int, error)

RequestIDMiddleware adds an identifier to the request Header name: X-Request-ID Header value: uuid4()

It's recomemded to add this middleware at first and before the view execution.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL