Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { GetProblem(problemId string) (*model.Problem, error) ListProblems() ([]model.Problem, error) GetCompiler(compilerId string) (*model.Compiler, error) ListCompilers() ([]model.Compiler, error) CreateSubmission(submission model.Submission) error UpdateSubmission(submission model.Submission) error GetSubmission(submissionId string) (*model.Submission, error) GetSubmissionByProblem(problemId string) ([]model.Submission, error) ListSubmissions() ([]model.Submission, error) }
func NewService ¶
Click to show internal directories.
Click to hide internal directories.