13 lines
353 B
Go
13 lines
353 B
Go
package tester
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type TesterUseCase interface {
|
|
CreateSolution(ctx context.Context, taskId int32, solution string, language int32) (int32, error)
|
|
ProcessTesting(ctx context.Context, solutionId int32) (<-chan string, error)
|
|
ProcessResult(ctx context.Context, solutionId int32, result string) error
|
|
TestingChannel() chan int32
|
|
}
|