ms-tester/internal/tester/usecase.go
Vyacheslav1557 c2076338fa feat:
2024-11-01 23:22:43 +05:00

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
}