Documentation ¶
Index ¶
- type UserController
- func (controller *UserController) ActivateUser(c *fiber.Ctx) error
- func (controller *UserController) CreateAdmin(c *fiber.Ctx) error
- func (controller *UserController) DeactivateUser(c *fiber.Ctx) error
- func (controller *UserController) GetDetailUser(c *fiber.Ctx) error
- func (controller *UserController) GetListUser(c *fiber.Ctx) error
- func (controller *UserController) Login(c *fiber.Ctx) error
- func (controller *UserController) Route(app *fiber.App, api fiber.Router)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
func NewUserController ¶
func NewUserController(userService *service.UserService) UserController
func (*UserController) ActivateUser ¶
func (controller *UserController) ActivateUser(c *fiber.Ctx) error
func (*UserController) CreateAdmin ¶
func (controller *UserController) CreateAdmin(c *fiber.Ctx) error
func (*UserController) DeactivateUser ¶
func (controller *UserController) DeactivateUser(c *fiber.Ctx) error
func (*UserController) GetDetailUser ¶
func (controller *UserController) GetDetailUser(c *fiber.Ctx) error
func (*UserController) GetListUser ¶
func (controller *UserController) GetListUser(c *fiber.Ctx) error
func (*UserController) Login ¶
func (controller *UserController) Login(c *fiber.Ctx) error
func (*UserController) Route ¶
func (controller *UserController) Route(app *fiber.App, api fiber.Router)
Click to show internal directories.
Click to hide internal directories.