Documentation ¶
Index ¶
- func PermissionList() []models.Permission
- type Account
- type Base
- type File
- type Role
- func (r *Role) AddPermissions(c *gin.Context)
- func (r *Role) AddUser(c *gin.Context)
- func (r *Role) Create(c *gin.Context)
- func (r *Role) Delete(c *gin.Context)
- func (r *Role) DeletePermissions(c *gin.Context)
- func (r *Role) DeleteUsers(c *gin.Context)
- func (r *Role) List(c *gin.Context)
- func (r *Role) Permissions(c *gin.Context)
- func (r *Role) Users(c *gin.Context)
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PermissionList ¶
func PermissionList() []models.Permission
Types ¶
type Role ¶
type Role struct {
Base
}
func (*Role) AddPermissions ¶
func (*Role) DeletePermissions ¶
func (*Role) DeleteUsers ¶
func (*Role) Permissions ¶
Click to show internal directories.
Click to hide internal directories.