middleware

package
v0.0.0-...-5a1604b Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthUser

func AuthUser(ctx *gin.Context)

func AuthUserRedirect

func AuthUserRedirect(ctx *gin.Context)

func LogIn

func LogIn(ctx *gin.Context, userID uint64)

func LogOut

func LogOut(ctx *gin.Context)

func Permission

func Permission(privilege string) gin.HandlerFunc

func SetupPrivileges

func SetupPrivileges(ctx *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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