Documentation
¶
Index ¶
- func Authorize(opt AuthorizeOption) func(*gin.Context)
- func CommonEnvironment(c *gin.Context, data map[string]interface{}) gin.H
- func GetPreferredTheme(c *gin.Context, path string) string
- func PreferredTheme(c *gin.Context)
- func RecordPath(c *gin.Context)
- func ShowErrorPage(c *gin.Context, i ErrInfo, isPage bool)
- func ValidateViewPassword(opt ValidateViewPasswordOption) gin.HandlerFunc
- type AuthorizeOption
- type ErrInfo
- type ValidateViewPasswordOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authorize ¶
func Authorize(opt AuthorizeOption) func(*gin.Context)
func PreferredTheme ¶
func RecordPath ¶
func ValidateViewPassword ¶
func ValidateViewPassword(opt ValidateViewPasswordOption) gin.HandlerFunc
Types ¶
type AuthorizeOption ¶
Click to show internal directories.
Click to hide internal directories.