Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CronHandle ¶
type CronHandle struct { Cron *cron.Cron // contains filtered or unexported fields }
func New ¶
func New() *CronHandle
func (*CronHandle) AddFunc ¶
func (self *CronHandle) AddFunc(name, spec string, function func()) error
func (*CronHandle) AddJob ¶
func (self *CronHandle) AddJob(task *CronJob) error
func (*CronHandle) DeleteAllTask ¶
func (self *CronHandle) DeleteAllTask()
func (*CronHandle) DeleteTask ¶
func (self *CronHandle) DeleteTask(taskName string)
func (*CronHandle) Run ¶
func (self *CronHandle) Run()
Click to show internal directories.
Click to hide internal directories.