Documentation
¶
Index ¶
- Constants
- Variables
- func ShortEngine(opts ...optionFunc) *shortEngine
- func WithCheckTime(t time.Duration) optionFunc
- func WithDownload(down download.Download) optionFunc
- func WithOutputter(out outputter.Outputter) optionFunc
- func WithScheduler(scd scheduler.Scheduler) optionFunc
- func WithTreadCount(num int) optionFunc
- type Engine
Constants ¶
View Source
const (
StartRequest = "StartRequest should not be given a stream that is not a request"
)
Variables ¶
View Source
var ( RegisterNilErr = errors.New("registered spiders should not be nil") SendUnknownComponentErr = errors.New("the component that needs to be pushed is not recognized") )
engine err
Functions ¶
func ShortEngine ¶
func ShortEngine(opts ...optionFunc) *shortEngine
func WithCheckTime ¶
func WithDownload ¶
func WithOutputter ¶
func WithScheduler ¶
func WithTreadCount ¶
func WithTreadCount(num int) optionFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.