Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHealthController ¶
func NewHealthController(router fiber.Router) *healthController
NewHealthController returns a new health controller.
func NewUserController ¶
func NewUserController(userUsecase usecases.UserUsecase) *userController
NewUserController returns a new user controller.
Types ¶
type BaseController ¶
type BaseController struct {
Router fiber.Router
}
BaseController defines the common properties of all fiber controllers.
type HealthController ¶
type HealthController interface {
Health(ctx *fiber.Ctx) error
}
HealthController is the interface for the health controller.
type UserController ¶
TODO: Split /me and /users in different subdomains UserController is the interface for the user controller.
Click to show internal directories.
Click to hide internal directories.