Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcurrentEngine ¶
type ConcurrentEngine struct { Scheduler IConcurrent WorkerCount int ItemChan chan Item }
func (*ConcurrentEngine) Run ¶
func (e *ConcurrentEngine) Run(seeds ...Request)
type IConcurrent ¶
type IConcurrent interface {
// contains filtered or unexported methods
}
type IQueued ¶
type IQueued interface { WorkerReady(chan Request) // contains filtered or unexported methods }
type ParseResult ¶
func NilParser ¶
func NilParser([]byte) ParseResult
type QueuedEngine ¶
func (*QueuedEngine) Run ¶
func (e *QueuedEngine) Run(seeds ...Request)
type Request ¶
type Request struct { Url string ParserFunc func([]byte) ParseResult }
type SimpleEngine ¶
type SimpleEngine struct { }
func (SimpleEngine) Run ¶
func (engine SimpleEngine) Run(seeds ...Request)
Click to show internal directories.
Click to hide internal directories.