internal

package
v0.0.0-...-d5601ad Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extract

func Extract(body io.Reader) ([]string, error)

Types

type Crawler

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

func NewCrawler

func NewCrawler(store storage.Storage, workQueue queue.Queue, resultsQueue queue.Queue, startingURL string, numWorkers int64) (Crawler, error)

func (Crawler) Crawl

func (c Crawler) Crawl()

type Worker

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

func NewWorker

func NewWorker(activeCounter *int64, workQueue queue.ReadQueue, resultsQueue queue.WriteQueue) *Worker

func (*Worker) Start

func (w *Worker) Start()

Jump to

Keyboard shortcuts

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