middleware

package
v0.0.0-...-1c7d376 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminCheck

func AdminCheck(c *fiber.Ctx) error

AdminCheck middleware restricts access to admin-only functionality.

func Auth

func Auth(verify bool) fiber.Handler

Auth middleware to handle authentication with optional verification.

Types

This section is empty.

Jump to

Keyboard shortcuts

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