Versions in this module Expand all Collapse all v1 v1.1.0 Dec 5, 2018 Changes in this version + func CasbinMiddleware(enforcer *casbin.Enforcer) gin.HandlerFunc v1.0.0 Nov 30, 2018 Changes in this version + func APIDemoRouter(g *gin.RouterGroup, demo *ctl.Demo) + func APILoginRouter(g *gin.RouterGroup, login *ctl.Login) + func APIMenuRouter(g *gin.RouterGroup, menu *ctl.Menu) + func APIRoleRouter(g *gin.RouterGroup, role *ctl.Role) + func APIUserRouter(g *gin.RouterGroup, user *ctl.User) + func APIV1Handler(r *gin.Engine, db *mysql.DB, c *ctl.Common) + func RecoveryMiddleware(c *gin.Context) + func SessionMiddleware(db *mysql.DB, allowPrefixes ...string) gin.HandlerFunc + func TraceMiddleware(allowPrefixes ...string) gin.HandlerFunc + func VerifySessionMiddleware(allowPrefixes, skipPrefixes []string) gin.HandlerFunc