Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationUsecase ¶
type NotificationUsecase ¶
type NotificationUsecase interface { GetAllNotifications(provider_id int) ([]domain.ProviderNotification, error) ViewNotification(notification_id int) (domain.ProviderNotification, error) }
type ProfileUsecase ¶
type ProfileUsecase interface { AddService(int, int) error DeleteService(int, int) error AddPreferredWorkingLocation(int, int) error RemovePreferredLocation(id, district int) error GetMyServices(int) ([]models.GetServices, error) GetAllPreferredLocations(int) ([]models.GetLocations, error) GetDetailsOfProviders(id int) (models.ProviderDetailsForUser, error) }
type WorkUseCase ¶
type WorkUseCase interface { GetAllLeads(int, int) ([]models.WorkDetails, error) ViewLeads(int) (models.WorkDetails, error) PlaceBid(models.PlaceBid) error ReplaceBidWithNewBid(models.PlaceBid) error GetAllOtherBidsOnTheLeads(work_id int) ([]models.BidDetails, error) GetWorksOfAProvider(int) ([]models.WorkDetails, error) GetAllOnGoingWorks(int) ([]models.WorkDetails, error) GetCompletedWorks(int) ([]models.WorkDetails, error) }
Click to show internal directories.
Click to hide internal directories.