cron

package
v0.0.0-...-5416f79 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2017 License: Apache-2.0 Imports: 11 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