scraper

package
v0.0.1-alpha.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScrapingManager

type ScrapingManager struct {
	// contains filtered or unexported fields
}

ScraperManager used to handle the various scrapers

func NewManager

func NewManager(ctx context.Context, b *bus.Bus) *ScrapingManager

NewManager returns a configured instance of a ScraperManager

func (ScrapingManager) Start

func (m ScrapingManager) Start(ctx context.Context)

Start iterates through each scraper and starts them NOTE: a scraper should not have a blocking call to start

func (ScrapingManager) Stop

func (m ScrapingManager) Stop(ctx context.Context)

Stop iterates through scrapers and stops them

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL