summaryrefslogtreecommitdiff
path: root/scrape.go
diff options
context:
space:
mode:
Diffstat (limited to 'scrape.go')
-rw-r--r--scrape.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/scrape.go b/scrape.go
index f09cba6..cb7f18c 100644
--- a/scrape.go
+++ b/scrape.go
@@ -53,7 +53,6 @@ func NewScraper() *Scraper {
type Scraper struct {
ScrapeFunc ScrapeFunc
- SetupFunc func()
Script string
Modules []Module
Client *http.Client
@@ -97,10 +96,6 @@ func (s *Scraper) Run() {
}
}
- if s.SetupFunc != nil {
- s.SetupFunc()
- }
-
go s.scrape()
s.wg.Wait()
close(s.jobs)