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