Versions in this module Expand all Collapse all v1 v1.0.3 Jun 10, 2024 Changes in this version + func NewAuthorizer(e *casbin.Enforcer) gin.HandlerFunc + type BasicAuthorizer struct + func (a *BasicAuthorizer) CheckPermission(r *http.Request) bool + func (a *BasicAuthorizer) GetUserName(r *http.Request) string + func (a *BasicAuthorizer) RequirePermission(c *gin.Context)