Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationUsecase ¶
type WorkUsecase ¶
type WorkUsecase interface {
ListNewOpening(domain.Work) error
GetAllListedWorks(id int) ([]models.WorkDetails, error)
ListAllCompletedWorks(id int) ([]models.WorkDetails, error)
ListAllOngoingWorks(id int) ([]models.WorkDetails, error)
WorkDetails(id int) (models.WorkDetails, error)
AssignWorkToProvider(work_id, pro_id int) error
MakeWorkAsCompleted(id int) error
RateWork(models.RatingModel, int) error
}
Click to show internal directories.
Click to hide internal directories.