middleware

package
v0.0.0-...-748a0e7 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MW

type MW struct {
	DB database.Querier
}

func (*MW) AuthMiddlewareForUnverifiedEmail

func (mw *MW) AuthMiddlewareForUnverifiedEmail(c *gin.Context)

func (*MW) AuthMiddlewareForVerifiedEmail

func (mw *MW) AuthMiddlewareForVerifiedEmail(c *gin.Context)

func (*MW) CheckAdminAccess

func (mw *MW) CheckAdminAccess(c *gin.Context)

func (*MW) CheckRootAccess

func (mw *MW) CheckRootAccess(c *gin.Context)

Jump to

Keyboard shortcuts

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