Documentation
¶
Index ¶
- type GuestDao
- type UserDao
- func (d *UserDao) CheckUserIsAdmin(username string) (bool, error)
- func (d *UserDao) Create(db *sql.DB) (any, error)
- func (d *UserDao) EditPassword(oldPassword, newPassword, username string) (bool, error)
- func (d *UserDao) GetUserInfo(username string) (bool, any, error)
- func (d *UserDao) GetUserRole(username string) (bool, any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GuestDao ¶
type GuestDao struct {
// contains filtered or unexported fields
}
func (*GuestDao) CheckLogin ¶
func (d *GuestDao) CheckLogin()
type UserDao ¶
type UserDao struct {
// contains filtered or unexported fields
}
func NewUserDao ¶
func NewUserDao() *UserDao
func (*UserDao) CheckUserIsAdmin ¶
func (*UserDao) EditPassword ¶
Click to show internal directories.
Click to hide internal directories.