interface rename + method change
This commit is contained in:
parent
c1c0e46184
commit
d19f5f7621
2 changed files with 8 additions and 6 deletions
|
|
@ -2,10 +2,10 @@ package tasks
|
|||
|
||||
import (
|
||||
"context"
|
||||
"parser-mandarake/internal/common"
|
||||
"scrapper-mandarake/internal/common"
|
||||
)
|
||||
|
||||
type Tasker interface {
|
||||
type TaskTransport interface {
|
||||
GetTasks(ctx context.Context) <-chan common.Task
|
||||
SendResult(ctx context.Context, resultChan chan common.Result)
|
||||
SendResult(ctx context.Context) chan common.Result
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue