Beispiel #1
0
func New() Pipeline {
	return &pipeline{
		Collector: collector.NewCollector(),
	}
}
Beispiel #2
0
func New() Pipeline {
	return &pipeline{
		Collector:     collector.NewCollector(),
		Deduplication: deduplicate.New().(*deduplicate.Deduplication),
	}
}
Beispiel #3
0
func New(sp *spider.Spider) Pipeline {
	return collector.NewCollector(sp)
}