scraper

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scraper

type Scraper struct {
	Scrape []scraperT
	// contains filtered or unexported fields
}

The Scraper type encapsulates the web scraper Integration.

func (*Scraper) LoadConfig

func (s *Scraper) LoadConfig(confdir string) error

LoadConfig loads and stores the configuration for this Integration

func (*Scraper) Start

func (s *Scraper) Start(mq *mqtt.MQTT)

Start launches the Integration, LoadConfig() should have been called beforehand.

func (*Scraper) Stop

func (s *Scraper) Stop()

Stop terminates the Integration and all Goroutines it contains

Jump to

Keyboard shortcuts

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