dispatch

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DispatchConfig added in v0.10.0

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"`
}

type DispatchModule

type DispatchModule struct {
}

DispatchModule handle task dispatch, include new task and update task

func (DispatchModule) Name

func (module DispatchModule) Name() string

Name return Dispatch

func (DispatchModule) Start

func (module DispatchModule) Start(cfg *cfg.Config)

Start dispatch module

func (DispatchModule) Stop

func (module DispatchModule) Stop() error

Stop dispatch module

Jump to

Keyboard shortcuts

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