interfaces

package
v0.0.0-...-6720ee0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2023 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationUsecase

type AuthenticationUsecase interface {
	UserSignup(models.UserSignup) error
	Login(models.Login) (string, error)
}

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL