ms-tester/internal/tester/usecase.go

13 lines
353 B
Go
Raw Permalink Normal View History

2024-10-09 18:55:16 +00:00
package tester
2024-11-01 18:22:43 +00:00
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
}