Documentation ¶
Index ¶
- type SubmissionUseCases
- func (useCases *SubmissionUseCases) CanStudentSubmitToTestBlock(studentUUID string, testBlockUUID string) (bool, error)
- func (useCases *SubmissionUseCases) GetSubmissionStatus(studentUUID, testBlockUUID string) (*dtos.SubmissionStatusUpdateDTO, error)
- func (useCases *SubmissionUseCases) SaveSubmission(dto *dtos.CreateSubmissionDTO) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SubmissionUseCases ¶
type SubmissionUseCases struct { BlocksRepository blocksDefinitions.BlockRepository SubmissionsRepository definitions.SubmissionsRepository SubmissionsQueueManager definitions.SubmissionsQueueManager }
func (*SubmissionUseCases) CanStudentSubmitToTestBlock ¶
func (useCases *SubmissionUseCases) CanStudentSubmitToTestBlock(studentUUID string, testBlockUUID string) (bool, error)
func (*SubmissionUseCases) GetSubmissionStatus ¶ added in v0.42.0
func (useCases *SubmissionUseCases) GetSubmissionStatus(studentUUID, testBlockUUID string) (*dtos.SubmissionStatusUpdateDTO, error)
func (*SubmissionUseCases) SaveSubmission ¶
func (useCases *SubmissionUseCases) SaveSubmission(dto *dtos.CreateSubmissionDTO) (string, error)
Click to show internal directories.
Click to hide internal directories.