middlewares

package
v0.0.0-...-44a7979 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(app *fiber.App) *fiber.App

Add middlewares:

  • Compress: compress responses
  • ETag: caching header
  • Limiter: rate limiter
  • Logger: logging middleware
  • Monitor: expose common metrics
  • Recover: handle panics with app.ErrorHandler
  • RequestID: add unique X-Request-ID header

Types

This section is empty.

Jump to

Keyboard shortcuts

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