middleware

package
v0.0.0-...-aef9128 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminAuthMiddleware

func AdminAuthMiddleware() gin.HandlerFunc

AdminAuthMiddleware checks if the user is an admin

func BaseAuthMiddleware

func BaseAuthMiddleware() gin.HandlerFunc

BaseAuthMiddleware checks if the user is authenticated

func CORSMiddleware

func CORSMiddleware() gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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