discover

package
v5.1.4-release+incompa... Latest Latest
Warning

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

Go to latest
Published: May 20, 2019 License: LGPL-3.0 Imports: 14 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TaskError float64

TaskError exec error task number

View Source
var TaskNum float64

TaskNum exec task number

Functions

func HealthCheck

func HealthCheck() map[string]string

HealthCheck health check

Types

type TaskManager

type TaskManager struct {
	// contains filtered or unexported fields
}

TaskManager task

func NewTaskManager

func NewTaskManager(c option.Config,
	store store.Storer,
	controllermanager *controller.Manager,
	startCh *channels.RingChannel) *TaskManager

NewTaskManager return *TaskManager

func (*TaskManager) Do

func (t *TaskManager) Do()

Do do

func (*TaskManager) Start

func (t *TaskManager) Start() error

Start 启动

func (*TaskManager) Stop

func (t *TaskManager) Stop() error

Stop 停止

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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