crawler

package
v0.0.0-...-72dbc77 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoUrlProvided      = errors.New("No URL provided")
	ErrIncorrectUrlFormat = errors.New("Wrong URL format provided")
)

Functions

This section is empty.

Types

type Crawler

type Crawler interface {
	Run() error
	// contains filtered or unexported methods
}

Crawly interface must be satisfied to do the crawling

type Creeper

type Creeper struct {
	BaseURL string
	Depth   int8
	// contains filtered or unexported fields
}

func (*Creeper) Run

func (cc *Creeper) Run() error

Jump to

Keyboard shortcuts

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