crawler

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CrawlURL = "http://127.0.0.1:9999/admin_53cr37api/"
	NewURL   = "http://127.0.0.1:9999/new"
)

Variables

View Source
var (
	ChromePath string
	Flag       string
	CrawlQueue chan int = make(chan int, 256)
)

Functions

func NewWorker

func NewWorker(port int) *worker

func StartCrawler

func StartCrawler(thread int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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