2026-04-03 19:06:33 +03:00
|
|
|
package tasks
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"context"
|
2026-04-03 20:53:54 +03:00
|
|
|
"scrapper-mandarake/internal/common"
|
2026-04-03 19:06:33 +03:00
|
|
|
)
|
|
|
|
|
|
2026-04-03 20:53:54 +03:00
|
|
|
type TaskTransport interface {
|
2026-04-03 19:06:33 +03:00
|
|
|
GetTasks(ctx context.Context) <-chan common.Task
|
2026-04-03 20:53:54 +03:00
|
|
|
SendResult(ctx context.Context) chan common.Result
|
2026-04-03 19:06:33 +03:00
|
|
|
}
|