Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Casbin ¶
func Casbin() gin.HandlerFunc
Casbin The first layer of access control Default role is guest If the user is logged in, the role will be the user's group If the user's role has permission to access the resource, the request will be passed By the way, the user's information will be set to the context
func Frontend ¶
func Frontend(urlPrefix string) gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.