middleware

package
v0.0.0-...-64e84b0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(c *gin.Context)

func IsAdmin

func IsAdmin(c *gin.Context)

func Logger

func Logger(c *gin.Context)

func NotGuest

func NotGuest(c *gin.Context)

func UpdateCookie

func UpdateCookie(c *gin.Context)

Make change that updates cookie value (obfuscation), and also updates maxage

Types

This section is empty.

Jump to

Keyboard shortcuts

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