middlewares

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2021 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CORS

func CORS(ctx *fasthttp.RequestCtx)

CORS adds response headers related to Cross-Origin Resource Sharing

func Logger

func Logger(ctx *fasthttp.RequestCtx)

Logger records the requests along with their response status

func Meta

func Meta(ctx *fasthttp.RequestCtx)

Meta adds the response headers relative to the server

func Security

func Security(ctx *fasthttp.RequestCtx)

Security adds response headers related to server security

Types

This section is empty.

Jump to

Keyboard shortcuts

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