Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DispatchConfig ¶
type DispatchConfig struct {
FailedTaskEnabled bool `config:"failure_retry"`
NewTaskEnabled bool `config:"new_task"`
UpdateTaskEnabled bool `config:"update_task"`
MaxConcurrentFetchTasks int64 `config:"max_concurrent_fetch_tasks"`
FetchSize int `config:"fetch_size"`
GetHostConfigByUrl bool `config:"get_host_config_by_url"`
}
type DispatchModule ¶
type DispatchModule struct {
}
DispatchModule handle task dispatch, include new task and update task
func (DispatchModule) Setup ¶
func (module DispatchModule) Setup(cfg *cfg.Config)
Start dispatch module
func (DispatchModule) Start ¶
func (module DispatchModule) Start() error
Click to show internal directories.
Click to hide internal directories.