crawler

package
v0.0.0-...-36cf7be Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crawler

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

Crawler holds values needed to crawl a page

func New

func New(client *http.Client, u string, out io.Writer) *Crawler

New creates a new Crawler

func (*Crawler) Crawl

func (c *Crawler) Crawl()

Crawl performs page crawling for urls

func (*Crawler) Err

func (c *Crawler) Err() error

Err returns a crawling error

Jump to

Keyboard shortcuts

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