Documentation ¶
Index ¶
- func Active(code string) (*model.User, error)
- func Create(uname, pwd, email string, status int, isAdmin bool) (*model.User, error)
- func GetByID(uid uint64) (*model.User, error)
- func GetByRands(rands string) (*model.User, error)
- func QueryUsers(uid uint64, pageIndex, pageCount int, email string) (*dto.Pager, error)
- func SignIn(emailOrName, pwd string) (*model.User, error)
- func SignInWithUserName(uname string) (*model.User, error)
- func UpdateRole(email string, role int) error
- func UpdateStatus(email string, status int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryUsers ¶ added in v0.1.1
func SignInWithUserName ¶ added in v0.1.1
func UpdateRole ¶ added in v0.1.1
func UpdateStatus ¶ added in v0.1.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.