Documentation ¶
Overview ¶
controllers/user_controller.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserController ¶
type UserController struct { UserService *services.UserService Validate *validator.Validate RedisClient *redis.Client }
func NewUserController ¶
func NewUserController(userService *services.UserService, validate *validator.Validate, redisClient *redis.Client) *UserController
func (*UserController) CreateUser ¶
func (ctrl *UserController) CreateUser(c *fiber.Ctx) error
func (*UserController) GetAllUsers ¶
func (ctrl *UserController) GetAllUsers(c *fiber.Ctx) error
func (*UserController) GetUsers ¶
func (ctrl *UserController) GetUsers(c *fiber.Ctx) error
Click to show internal directories.
Click to hide internal directories.