Documentation
¶
Index ¶
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
}
UserController represents the user controller.
func New ¶
func New(userService UserService) *UserController
New creates a new UserController instance.
func (*UserController) Cancel ¶
func (uc *UserController) Cancel()
func (*UserController) CreateUser ¶
func (uc *UserController) CreateUser(c *fiber.Ctx) error
CreateUser handles the creation of a new user.
func (*UserController) GetUserByID ¶
func (uc *UserController) GetUserByID(c *fiber.Ctx) error
GetUserByID retrieves a user by their ID.
func (*UserController) RegisterRoutes ¶
func (uc *UserController) RegisterRoutes(router fiber.Router)
RegisterRoutes registers user-related HTTP routes.
Click to show internal directories.
Click to hide internal directories.