Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllSiteKeys ¶
GetAllSiteKeys returns all site keys from the config
Types ¶
type Orchestrator ¶
type Orchestrator struct {
// contains filtered or unexported fields
}
Orchestrator manages parallel crawling of multiple sites
func NewOrchestrator ¶
func NewOrchestrator(appCfg *config.AppConfig, siteKeys []string, resume bool, log *logrus.Entry) *Orchestrator
NewOrchestrator creates a new orchestrator for parallel site crawling
func (*Orchestrator) GetProgress ¶
func (o *Orchestrator) GetProgress() []crawler.CrawlerProgress
GetProgress returns the current progress of all sites
func (*Orchestrator) Run ¶
func (o *Orchestrator) Run() []SiteResult
Run starts crawling all sites in parallel and waits for completion
Click to show internal directories.
Click to hide internal directories.