middlewares

package
v0.0.0-...-c7bad6d Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdminKey    string = "knorten/admin"
	LoggedInKey string = "knorten/logged_in"
)

Variables

This section is empty.

Functions

func Authenticate

func Authenticate(log *logrus.Entry, repo *database.Repo, azureClient *auth.Azure, dryRun bool) gin.HandlerFunc

func SetSessionStatus

func SetSessionStatus(log *logrus.Entry, sessionCookie string, repo *database.Repo) 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