Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { NewSubmission(proposed model.ProposedSolution) (*model.Submission, error) JudgeSubmission(submissionId string) (*model.Submission, error) }
func NewService ¶
func NewService(metadata metadata.Service, repository repository.Service) Service
type SubmissionService ¶
type SubmissionService struct {
// contains filtered or unexported fields
}
func (*SubmissionService) JudgeSubmission ¶
func (s *SubmissionService) JudgeSubmission(submissionId string) (*model.Submission, error)
func (*SubmissionService) NewSubmission ¶
func (s *SubmissionService) NewSubmission(proposed model.ProposedSolution) (*model.Submission, error)
Click to show internal directories.
Click to hide internal directories.