middlewares

package
v0.0.0-...-f095a72 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheMiddleware

func CacheMiddleware(cache *cache.Cache) fiber.Handler

func GenerateCacheKey

func GenerateCacheKey(c *fiber.Ctx) string

func HashingMiddleware

func HashingMiddleware(c *fiber.Ctx) error

Define hashing middleware

func InvalidateCacheMiddleware

func InvalidateCacheMiddleware(cache *cache.Cache) fiber.Handler

Create a custom middleware to invalidate cache for PUT and POST requests

func JwtMiddleware

func JwtMiddleware(c *fiber.Ctx) error

func LoginHashingMiddleware

func LoginHashingMiddleware(c *fiber.Ctx) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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