Documentation ¶
Index ¶
- func CheckUserIsAdmin(username string) (bool, error)
- func EditPassword(oldPassword, newPassword, username string) (bool, error)
- func GetUserInfo(username string) (bool, interface{}, error)
- func GetUserRole(username string) (bool, interface{}, error)
- func Login(username string, password string) (bool, int)
- func Register(username, password string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUserIsAdmin ¶
func EditPassword ¶
func GetUserInfo ¶
func GetUserRole ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.