scrapper-mandarake/internal/tasks/interface.go

12 lines
214 B
Go
Raw Normal View History

2026-04-03 19:06:33 +03:00
package tasks
import (
"context"
"parser-mandarake/internal/common"
)
type Tasker interface {
GetTasks(ctx context.Context) <-chan common.Task
SendResult(ctx context.Context, resultChan chan common.Result)
}