feat(tester): add endpoints
add GetMonitor&GetTask endpoints
This commit is contained in:
parent
ef696d2836
commit
b960a923d2
9 changed files with 400 additions and 16 deletions
|
@ -47,4 +47,6 @@ type ContestRepository interface {
|
|||
ReadSolution(ctx context.Context, id int32) (*models.Solution, error)
|
||||
CreateSolution(ctx context.Context, creation *models.SolutionCreation) (int32, error)
|
||||
ListSolutions(ctx context.Context, filters models.SolutionsFilter) ([]*models.SolutionsListItem, int32, error)
|
||||
ReadTask(ctx context.Context, id int32) (*models.Task, error)
|
||||
ReadMonitor(ctx context.Context, id int32) (*models.Monitor, error)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue