auth

package
v0.0.0-...-0ad4d90 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(c *gin.Context)

func HasRole

func HasRole(roles ...string) gin.HandlerFunc

func InGroup

func InGroup(group ...string) gin.HandlerFunc

func IsAPIKey

func IsAPIKey(c *gin.Context) bool

func NotGuest

func NotGuest(c *gin.Context)

func UpdateCookie

func UpdateCookie(c *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