Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserResponse ¶
NewUserResponse creates a new instance of UserResponse
Types ¶
type UserControllerV1 ¶
type UserControllerV1 struct {
// contains filtered or unexported fields
}
func New ¶
func New(uc domain.UserUsecase, server *http.Http) *UserControllerV1
NewUserControllerV1 creates a new instance of UserControllerV1
func (*UserControllerV1) GetByID ¶
func (uc *UserControllerV1) GetByID(ctx *fiber.Ctx) error
GetByID handles GET /users request
func (*UserControllerV1) InitRoutes ¶
func (uc *UserControllerV1) InitRoutes(routeV1 fiber.Router, token token.Token)
InitRoutes registers all routes for version 1
func (*UserControllerV1) Update ¶
func (uc *UserControllerV1) Update(ctx *fiber.Ctx) error
Update handles PUT /users request
Click to show internal directories.
Click to hide internal directories.