middleware

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

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

Go to latest
Published: Oct 8, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authenticate

func Authenticate() gin.HandlerFunc

Authenticate is a middleware that checks if the request is authenticated

func CheckAuthentication

func CheckAuthentication(c *gin.Context) (*common.Claims, error)

CheckAuthentication is a function that checks if the request is authenticated

Types

This section is empty.

Jump to

Keyboard shortcuts

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