Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Usecase ¶
type Usecase interface { CreateVote(ctx context.Context, presentationID uuid.UUID, param model.CreateVoteRequestDTO) error GetPollVotes(ctx context.Context, presentationID, pollID uuid.UUID) ([]db.GetVotesRow, error) }
Usecase contains the function of business logic of domain voter
func Initialize ¶
Initialize takes all necessary service for domain vote to run the business logic of domain vote
Click to show internal directories.
Click to hide internal directories.