jobs

package
Version: v0.0.0-...-e50a933 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2017 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJob

func NewJob() *cacujob

Types

type Job

type Job interface {
	// 初始化任务
	Init(node *kcfg.Node) error
	// 检测是否达到统计时间
	OnTime() <-chan bool
	// 开始计算
	Cacu() error
	// 设置日志接口
	SetLogger(logger)
}

Source Files

Directories

Path Synopsis
db

Jump to

Keyboard shortcuts

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