Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcurrentEngine ¶
func (*ConcurrentEngine) Run ¶
func (e *ConcurrentEngine) Run(seeds ...Request)
type ParseResult ¶
type ParseResult struct { Requests []Request Items []interface{} }
func NilParser ¶
func NilParser([]byte) ParseResult
type ReadyNotifier ¶
type ReadyNotifier interface {
WorkerReady(chan Request)
}
type Request ¶
type Request struct { Url string ParserFunc func([]byte) ParseResult }
type Scheduler ¶
type Scheduler interface { ReadyNotifier Submit(Request) WorkerChan() chan Request Run() }
type SimpleEngine ¶
type SimpleEngine struct{}
Click to show internal directories.
Click to hide internal directories.