middlewares

package
v0.0.0-...-ce4f20c Latest Latest
Warning

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

Go to latest
Published: Oct 15, 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() gin.HandlerFunc

func AuthMiddleWare

func AuthMiddleWare(db *pgxpool.Pool, envMap map[string]string) gin.HandlerFunc

func MarkAuthorization

func MarkAuthorization(c *gin.Context, db *pgxpool.Pool, envMap map[string]string, markHeaders bool) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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