package
0.0.0-20201230152808-d1f39bd9dcec
Repository: https://github.com/asofdate/hauth.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
检查用户对指定的域的权限 第一个参数是上下文 context 第二个参数是用户想要访问的域 第三个参数是用户想要的权限,分两种情况,r 表示只读, w 表示读写.
No description provided by the author
No description provided by the author
No description provided by the author
check the user wheather handle the domain return value : -1 : have no right to handle the domain 1 : can read the domain info 2 : can read and wirte the domain info.
check user's passwd is right.
返回值是-1 表示没有读写权限 返回值是1 表示有读取权限,没有写入权限 返回值是2 表示有读写权限.

# Structs

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
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
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