Versions in this module Expand all Collapse all v0 v0.1.3 Dec 16, 2020 Changes in this version + type Adapter struct + Adapter func(e *Engine, task *models.Task) (newTasks []models.Task, err error) + ParserFunction string + type Engine struct + HttpClient *http.Client + Store *store.Store + func NewEngine(s *store.Store, logPath string, tick time.Duration, threadNum ...int) (*Engine, error) + func (e *Engine) RegisterAdapter(adapter Adapter) + func (e *Engine) RegisterAdapters(adapters []Adapter) + func (e *Engine) Run() + func (e *Engine) SetNewTask(task *models.Task) error