Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Can ¶
func Can(permission string) gin.HandlerFunc
func SiteMiddleware ¶
func SiteMiddleware() gin.HandlerFunc
Load site config into middlewares pipe context.
func TitleMiddleware ¶
func TitleMiddleware(title string) gin.HandlerFunc
func UserMiddleware ¶
func UserMiddleware() gin.HandlerFunc
User middleware loads signed user data for further use.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.