Documentation ¶ Index ¶ func Run() type Job Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run() Run runs all defined jobs in separate go-routine Types ¶ type Job ¶ type Job interface { // Each job must have an unique name, and must be fit as an environment // variable Name() string // How long we execute this job Interval() time.Duration // How to run this job Run() error } Job is a crontab like job Source Files ¶ View all Source files aburiya.go jobs.go Click to show internal directories. Click to hide internal directories.