scrapers

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReaderGzip

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

func NewReaderGzip

func NewReaderGzip(main io.ReadCloser) (*ReaderGzip, error)

func (ReaderGzip) Close

func (r ReaderGzip) Close() error

func (ReaderGzip) Read

func (r ReaderGzip) Read(p []byte) (n int, err error)

type Scraper

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

func NewScraper

func NewScraper(backendFactory *clients.BackendFactory, db *gorm.DB) *Scraper

func (Scraper) Scrape

func (s Scraper) Scrape(route models.Route, metricPathDefault string) (io.ReadCloser, error)

Jump to

Keyboard shortcuts

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