gotictok

package
v0.0.0-...-91ccd0e Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

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

Job - Job structure

func ScheduleJob

func ScheduleJob(label string, interval time.Duration, callfunc ...interface{}) (jb *Job)

ScheduleJob - invoke new Schedulable(Job) <br/> label - job label</br> interval - interval in nano seconds<br/> callfunc - (optional) ...interface{} list of functions that will be actioned <br/>

func (*Job) Done

func (jb *Job) Done()

Done - job done and can not be used after this

func (*Job) Run

func (jb *Job) Run() *Job

Run - run or activate Job

Jump to

Keyboard shortcuts

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