middleware

package
v0.0.0-...-400441b Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminMiddleware

func AdminMiddleware() fiber.Handler

AdminMiddleware is a middleware to check if the user is an admin

func AuthMiddleware

func AuthMiddleware(token token.Token) fiber.Handler

AuthMiddleware is a fiber middleware function for authentication

Types

This section is empty.

Jump to

Keyboard shortcuts

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