crawler

package
v0.0.0-...-e3c160d Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 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 Crawler

type Crawler struct {
	Visited map[string]bool
	// contains filtered or unexported fields
}

func New

func New(concurrency int) *Crawler

func (*Crawler) Concurrency

func (c *Crawler) Concurrency() int

func (*Crawler) Crawl

func (c *Crawler) Crawl(baseUrl *url.URL)

func (*Crawler) Crawl2

func (c *Crawler) Crawl2(baseUrl *url.URL)

func (*Crawler) VisitedCount

func (c *Crawler) VisitedCount() int

Jump to

Keyboard shortcuts

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