middleware

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MidAccess  fiber.Handler
	MidRefresh fiber.Handler
)

Functions

func Auth

func Auth(base64key string) fiber.Handler

func CheckCredentials

func CheckCredentials(c *fiber.Ctx) error

func CheckIfProfileExistsByID

func CheckIfProfileExistsByID(c *fiber.Ctx) error

func CheckIfUserExistsByEmail

func CheckIfUserExistsByEmail(c *fiber.Ctx) error

func CheckIfUserExistsByID

func CheckIfUserExistsByID(c *fiber.Ctx) error

func CheckProfilePermission

func CheckProfilePermission(c *fiber.Ctx) error

func CheckUserPermission

func CheckUserPermission(c *fiber.Ctx) error

func GetFilter

func GetFilter(c *fiber.Ctx) error

func GetPassDTO

func GetPassDTO(c *fiber.Ctx) error

func GetProfileDTO

func GetProfileDTO(c *fiber.Ctx) error

func GetRequestLanguage

func GetRequestLanguage(c *fiber.Ctx) error

func GetUserDTO

func GetUserDTO(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