handlers

package
v0.0.0-...-01a1143 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusBadRequest          = fiber.StatusBadRequest
	StatusInternalServerError = fiber.StatusInternalServerError
	StatusCreated             = fiber.StatusCreated
	StatusOK                  = fiber.StatusOK
	StatusUnauthorized        = fiber.StatusUnauthorized
)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL