move collection and extraction of articles into their own file; add custom response cache
This commit is contained in:
7
cmd/crawler/collectors/collector.go
Normal file
7
cmd/crawler/collectors/collector.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package collectors
|
||||
|
||||
import "crowsnest/internal/model/sqlite"
|
||||
|
||||
type Collector struct {
|
||||
Responses *sqlite.ResponseModel
|
||||
}
|
||||
Reference in New Issue
Block a user