Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Module("scrape", fx.Provide( FxNewScraper, ), )
Functions ¶
This section is empty.
Types ¶
type FxNewScraperParams ¶
type NewScraperParams ¶
type Scraper ¶
type Scraper struct { Log *zap.Logger Config Config Extractors extractors.Extractor CurlHTTP *curlhttp.CurlHttp }
func FxNewScraper ¶
func FxNewScraper(p FxNewScraperParams) *Scraper
func NewScraper ¶
func NewScraper(p NewScraperParams) *Scraper
func (*Scraper) Scrape ¶
func (s *Scraper) Scrape(ch chan *ScrapeResult)
Click to show internal directories.
Click to hide internal directories.