cron

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Workers = make(map[string]Worker)

Functions

func UpdateItems

func UpdateItems()

func WorkerRun

func WorkerRun(item *g.Cluster)

Types

type Worker

type Worker struct {
	Ticker      *time.Ticker
	ClusterItem *g.Cluster
	Quit        chan struct{}
}

func NewWorker

func NewWorker(ci *g.Cluster) Worker

func (Worker) Drop

func (this Worker) Drop()

func (Worker) Start

func (this Worker) Start()

Jump to

Keyboard shortcuts

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