Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusBadRequest = fiber.StatusBadRequest StatusInternalServerError = fiber.StatusInternalServerError StatusCreated = fiber.StatusCreated StatusOK = fiber.StatusOK )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserHandler ¶
type UserHandler struct {
// contains filtered or unexported fields
}
func NewUserHandler ¶
func NewUserHandler(service *services.UserService) *UserHandler
func (*UserHandler) GetAllUsers ¶
func (h *UserHandler) GetAllUsers(c *fiber.Ctx) error
func (*UserHandler) GetUserById ¶
func (h *UserHandler) GetUserById(c *fiber.Ctx) error
func (*UserHandler) LoginUser ¶
func (h *UserHandler) LoginUser(c *fiber.Ctx) error
func (*UserHandler) RegisterUser ¶
func (h *UserHandler) RegisterUser(c *fiber.Ctx) error
func (*UserHandler) UpdateProfile ¶
func (h *UserHandler) UpdateProfile(c *fiber.Ctx) error
Click to show internal directories.
Click to hide internal directories.