price scrapper
This commit is contained in:
parent
d19f5f7621
commit
8922b8a4f0
7 changed files with 426 additions and 0 deletions
11
internal/scrapper/interface.go
Normal file
11
internal/scrapper/interface.go
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
package scrapper
|
||||
|
||||
import (
|
||||
"context"
|
||||
"scrapper-mandarake/internal/common"
|
||||
)
|
||||
|
||||
type PriceScrapper interface {
|
||||
Start(ctx context.Context, tasksChan <-chan common.Task, resultsChan chan<- common.Result) error
|
||||
Stop()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue