Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(key string, cfg *commonconfig.DownloaderConfig, factory CreateFunc, release ReleaseFunc, createParams, releaseParams interface{}) bool
Register 注册任务
Types ¶
type CreateFunc ¶
type Job ¶
type Job struct { Key string Finder finder.IFinder Interval int IterCount int64 DownloadConfig *commonconfig.DownloaderConfig }
type ReleaseFunc ¶ added in v0.0.7
type ReleaseFunc func(ITable, interface{})
Click to show internal directories.
Click to hide internal directories.