Documentation ¶
Index ¶
- func HashPassword(password string) (string, error)
- type UserController
- func (uc *UserController) CreateUser(ctx iris.Context)
- func (uc *UserController) DeleteUser(ctx iris.Context)
- func (uc *UserController) GetAll(ctx iris.Context)
- func (uc *UserController) GetUser(ctx iris.Context)
- func (uc *UserController) Login(ctx iris.Context)
- func (uc *UserController) UpdateUser(ctx iris.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashPassword ¶
function to hash password user
Types ¶
type UserController ¶
func (*UserController) CreateUser ¶
func (uc *UserController) CreateUser(ctx iris.Context)
func (*UserController) DeleteUser ¶
func (uc *UserController) DeleteUser(ctx iris.Context)
func (*UserController) GetAll ¶
func (uc *UserController) GetAll(ctx iris.Context)
func (*UserController) GetUser ¶
func (uc *UserController) GetUser(ctx iris.Context)
func (*UserController) Login ¶
func (uc *UserController) Login(ctx iris.Context)
func (*UserController) UpdateUser ¶
func (uc *UserController) UpdateUser(ctx iris.Context)
Click to show internal directories.
Click to hide internal directories.