Documentation ¶
Index ¶
- func NewUserHandler(e *echo.Group, r *echo.Group, uu domain.UserUsecase)
- type UserHandler
- func (h *UserHandler) AccountSubmission(c echo.Context) error
- func (h *UserHandler) ChangeEmail(c echo.Context) error
- func (h *UserHandler) ChangePassword(c echo.Context) error
- func (h *UserHandler) ChangeStatus(c echo.Context) error
- func (h *UserHandler) CheckNipExists(c echo.Context) error
- func (h *UserHandler) GetByID(c echo.Context) error
- func (h *UserHandler) Register(c echo.Context) error
- func (h *UserHandler) SetAsAdmin(c echo.Context) error
- func (h *UserHandler) Store(c echo.Context) (err error)
- func (h *UserHandler) UpdateProfile(c echo.Context) (err error)
- func (h *UserHandler) UserList(c echo.Context) error
- func (h *UserHandler) UserProfile(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserHandler ¶
func NewUserHandler(e *echo.Group, r *echo.Group, uu domain.UserUsecase)
NewUserHandler will create a new UserHandler
Types ¶
type UserHandler ¶
type UserHandler struct {
UUsecase domain.UserUsecase
}
userHandler ...
func (*UserHandler) AccountSubmission ¶
func (h *UserHandler) AccountSubmission(c echo.Context) error
func (*UserHandler) ChangeEmail ¶
func (h *UserHandler) ChangeEmail(c echo.Context) error
func (*UserHandler) ChangePassword ¶
func (h *UserHandler) ChangePassword(c echo.Context) error
func (*UserHandler) ChangeStatus ¶
func (h *UserHandler) ChangeStatus(c echo.Context) error
func (*UserHandler) CheckNipExists ¶
func (h *UserHandler) CheckNipExists(c echo.Context) error
func (*UserHandler) GetByID ¶
func (h *UserHandler) GetByID(c echo.Context) error
func (*UserHandler) Register ¶
func (h *UserHandler) Register(c echo.Context) error
func (*UserHandler) SetAsAdmin ¶
func (h *UserHandler) SetAsAdmin(c echo.Context) error
func (*UserHandler) Store ¶
func (h *UserHandler) Store(c echo.Context) (err error)
Store will store the user by given request body
func (*UserHandler) UpdateProfile ¶
func (h *UserHandler) UpdateProfile(c echo.Context) (err error)
func (*UserHandler) UserList ¶
func (h *UserHandler) UserList(c echo.Context) error
func (*UserHandler) UserProfile ¶
func (h *UserHandler) UserProfile(c echo.Context) error
Click to show internal directories.
Click to hide internal directories.