application

package
v0.42.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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