Documentation ¶
Index ¶
- func Auth(c *gin.Context)
- func AuthAdmin(c *gin.Context)
- func AuthNotGuest(c *gin.Context)
- func Authn(c *gin.Context)
- func Down(c *gin.Context)
- func ForceHttps(c *gin.Context)
- func FsUp(c *gin.Context)
- func MaxAllowed(n int) gin.HandlerFunc
- func SearchIndex(c *gin.Context)
- func StoragesLoaded(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Auth ¶
Auth is a middleware that checks if the user is logged in. if token is empty, set user to guest
func AuthNotGuest ¶ added in v3.39.0
func ForceHttps ¶ added in v3.19.0
func MaxAllowed ¶ added in v3.7.1
func MaxAllowed(n int) gin.HandlerFunc
func SearchIndex ¶ added in v3.6.0
func StoragesLoaded ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.