xcron

package
v0.0.0-...-796497b Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CronJob

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

func New

func New() *CronJob

func (*CronJob) Run

func (c *CronJob) Run() *CronJob

func (*CronJob) SetCallback

func (c *CronJob) SetCallback(call func()) *CronJob

func (*CronJob) SetInterval

func (c *CronJob) SetInterval(sec int64) *CronJob

func (*CronJob) SetName

func (c *CronJob) SetName(name string) *CronJob

func (*CronJob) Stop

func (c *CronJob) Stop()

Jump to

Keyboard shortcuts

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