package taskAgent import ( "context" "task-processor/internal/structs" ) type TaskAgent interface { FetchTasks(ctx context.Context) ([]structs.Task, error) SendResults(ctx context.Context, results []structs.Result) error }