Versions in this module Expand all Collapse all v0 v0.0.1 Feb 6, 2019 Changes in this version + func GetRolePermMap(roleId int64) map[string]interface + func GetRoleUserMap(roleId int64) (string, string) + func GetUserRole(user string) + func InitRole() + func UpdateResource() + type PermController struct + func (this *PermController) PermAdd() + func (this *PermController) PermData() + func (this *PermController) PermDataName() + func (this *PermController) PermDatas() + func (this *PermController) PermDelete() + func (this *PermController) PermList() + func (this *PermController) PermSave() + type PermRoleController struct + func (this *PermRoleController) PermRoleAdd() + func (this *PermRoleController) PermRoleAddList() + func (this *PermRoleController) PermRoleData() + func (this *PermRoleController) PermRoleDataName() + func (this *PermRoleController) PermRoleDatas() + func (this *PermRoleController) PermRoleDelete() + func (this *PermRoleController) PermRoleList() + func (this *PermRoleController) PermRoleSave() + func (this *PermRoleController) PermRoleSavePerm() + func (this *PermRoleController) PermRoleSaveUser() + func (this *PermRoleController) PermRoleUserList() + type ResourceController struct + func (this *ResourceController) GetResourceTree() + func (this *ResourceController) ResourceAdd() + func (this *ResourceController) ResourceData() + func (this *ResourceController) ResourceDataName() + func (this *ResourceController) ResourceDatas() + func (this *ResourceController) ResourceDelete() + func (this *ResourceController) ResourceList() + func (this *ResourceController) ResourceSave()