Documentation ¶
Index ¶
- type Cron
- func (c *Cron) AddFunc(name, spec string, task func()) (cron.EntryID, error)
- func (c *Cron) AddJob(name, spec string, job interface{ ... }) (cron.EntryID, error)
- func (c *Cron) Clear(name string)
- func (c *Cron) Close()
- func (c *Cron) Find(name string) (*cron.Cron, bool)
- func (c *Cron) Remove(name string, id cron.EntryID)
- func (c *Cron) Start(name string)
- func (c *Cron) Stop(name string)
- type CronServiceProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cron ¶ added in v0.0.4
type CronServiceProvider ¶
type CronServiceProvider struct {
*support.ServiceProvider
}
func (*CronServiceProvider) Register ¶
func (c *CronServiceProvider) Register()
Click to show internal directories.
Click to hide internal directories.