engine

package
v0.0.0-...-b3f7bda Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScheduleEngine

type ScheduleEngine struct {
	WorkCount int //为执行任务的数量,可以灵活地去配置。
	Fetcher   collect.Fetcher
	Logger    *zap.Logger

	Seeds []*collect.Request
	// contains filtered or unexported fields
}

func (*ScheduleEngine) CreateWork

func (s *ScheduleEngine) CreateWork()

func (*ScheduleEngine) HandleResult

func (s *ScheduleEngine) HandleResult()

func (*ScheduleEngine) Run

func (s *ScheduleEngine) Run()

func (*ScheduleEngine) Schedule

func (s *ScheduleEngine) Schedule()

Jump to

Keyboard shortcuts

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