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 ¶
func ForceHttps ¶
func MaxAllowed ¶
func MaxAllowed(n int) gin.HandlerFunc
func SearchIndex ¶
func StoragesLoaded ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.