Documentation ¶
Index ¶
- func AddColumnToProjectSuccessResponse(c *entities.Column) map[string]interface{}
- func AddTaskToProjectSuccessResponse(t *entities.Task) map[string]interface{}
- func CreateProjectSuccessResponse(p *entities.Project) map[string]interface{}
- func SignInSuccessResponse(u *entities.User, access string, refresh string, accessExp int64, ...) map[string]interface{}
- func SignUpSuccessResponse(u *entities.User) map[string]interface{}
- func UpdateColumnSuccessResponse(c *entities.Column) map[string]interface{}
- type AddColumnToProjectRequest
- type AddTaskToProjectRequest
- type CreateProjectRequest
- type DeleteTaskRequest
- type SignInRequest
- type SignUpRequest
- type UpdateColumnRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SignInSuccessResponse ¶
func SignUpSuccessResponse ¶
Types ¶
type AddColumnToProjectRequest ¶
type AddTaskToProjectRequest ¶
type AddTaskToProjectRequest struct { ColumnID uuid.UUID `json:"columnId" validate:"required"` AssigneeID uuid.UUID `json:"assigneeId"` Title string `json:"title" validate:"required,min=1,max=50"` Description string `json:"description" validate:"max=2000"` Priority int `json:"priority" validate:"required"` DueDate int64 `json:"dueDate" validate:"required"` Position int `json:"position" validate:"required"` }
type CreateProjectRequest ¶
type DeleteTaskRequest ¶
func (*DeleteTaskRequest) Bind ¶
func (r *DeleteTaskRequest) Bind( c *fiber.Ctx, v *validator.Validate, ) error
type SignInRequest ¶
type SignInRequest struct { Identity string `json:"identity" validate:"required"` Password string `json:"password" validate:"required,min=6,max=50"` }
func (*SignInRequest) Bind ¶
func (r *SignInRequest) Bind(c *fiber.Ctx, v *validator.Validate) error
type SignUpRequest ¶
type UpdateColumnRequest ¶
type UpdateColumnRequest struct { Name string `json:"name" validate:"required,min=1,max=50"` Position int `json:"position" validate:"required"` }
func (*UpdateColumnRequest) Bind ¶
func (r *UpdateColumnRequest) Bind( c *fiber.Ctx, v *validator.Validate, ) error
Click to show internal directories.
Click to hide internal directories.