Documentation ¶
Index ¶
- Constants
- func Auth(c *gin.Context)
- func AuthCheckRole() gin.HandlerFunc
- func AuthInit() error
- func CustomError(c *gin.Context)
- func GetJwtMiddleware() *jwtUtil.GinJWTMiddleware
- func InitMiddleware(r *gin.Engine)
- func LoggerToFile() gin.HandlerFunc
- func NoCache(c *gin.Context)
- func Options(c *gin.Context)
- func PayloadFunc(data interface{}) jwtUtil.MapClaims
- func RequestId() gin.HandlerFunc
- func Secure(c *gin.Context)
Constants ¶
View Source
const CASBIN = `` /* 321-byte string literal not displayed */
CASBIN ...
Variables ¶
This section is empty.
Functions ¶
func NoCache ¶
NoCache is a middleware function that appends headers to prevent the client from caching the HTTP Response.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.