package
0.1.0
Repository: https://github.com/leyle/userandrole.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
要求所有接口都登录才行?或者说,使用这个方法的接口的,默认必须要验证的.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
删除 item.
删除权限.
删除 role 注册用户 role 和 admin role 不能删除 todo.
No description provided by the author
读取 item 明细.
读取权限明细.
读取 role 明细.
读取指定 userid 的 roles 信息.
No description provided by the author
读取 item 列表,支持分页,支持按名字/path/method搜索.
读取权限列表/搜索权限,按名字,menu,button,不支持递归搜索包含的明细.
搜索 role, name / menu / button.
读取授权了的用户列表.
No description provided by the author
No description provided by the author
No description provided by the author
角色路由.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
用户路由.
角色 <-> 用户 关联路由.

# Constants

No description provided by the author

# Variables

调用本包,需要给这个变量赋值.

# Structs

给权限再增加 item 明细.
给 role 添加 permission.
给用户添加 roles.
通过账户密码数据,没有自己注册的,都是通过接口创建的.
新建 item.
新建权限.
新建 role.
使用账户密码登录.
给权限移除已有的 item 明细.
从 role 中移除 permissions.
取消 用户的某些 roles.
修改item.
修改自己的密码.
修改权限基础信息.
修改 role 信息.
No description provided by the author