Documentation
¶
Index ¶
- func New() contract.Cron
- type Command
- type Cron
- func (c *Cron) DayAtWithFunc(hour int, job func())
- func (c *Cron) DayAtWithJob(hour int, job contract.CronJob)
- func (c *Cron) EveryDayWithFunc(job func())
- func (c *Cron) EveryDayWithJob(job contract.CronJob)
- func (c *Cron) EveryHourWithFunc(job func())
- func (c *Cron) EveryHourWithJob(job contract.CronJob)
- func (c *Cron) EveryMinuteWithFunc(job func())
- func (c *Cron) EveryMinuteWithJob(job contract.CronJob)
- func (c *Cron) EverySecondWithFunc(job func())
- func (c *Cron) EverySecondWithJob(job contract.CronJob)
- func (c *Cron) EveryWeeklyWithFunc(job func())
- func (c *Cron) EveryWeeklyWithJob(job contract.CronJob)
- func (c *Cron) HoursWithFunc(hours int, job func())
- func (c *Cron) HoursWithJob(hours int, job contract.CronJob)
- func (c *Cron) MinutesWithFunc(minutes int, job func())
- func (c *Cron) MinutesWithJob(minutes int, job contract.CronJob)
- func (c *Cron) RunWithFunc(spec string, job func())
- func (c *Cron) RunWithJob(spec string, job contract.CronJob)
- func (c *Cron) SecondsWithFunc(seconds int, job func())
- func (c *Cron) SecondsWithJob(seconds int, job contract.CronJob)
- func (c *Cron) Start()
- func (c *Cron) Stop()
- func (c *Cron) WeeklyOnWithFunc(week, hour int, job func())
- func (c *Cron) WeeklyOnWithJob(week, hour int, job contract.CronJob)
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cron ¶
type Cron struct {
// contains filtered or unexported fields
}
func (*Cron) DayAtWithFunc ¶
func (*Cron) EveryDayWithFunc ¶
func (c *Cron) EveryDayWithFunc(job func())
func (*Cron) EveryDayWithJob ¶
func (*Cron) EveryHourWithFunc ¶
func (c *Cron) EveryHourWithFunc(job func())
func (*Cron) EveryHourWithJob ¶
func (*Cron) EveryMinuteWithFunc ¶
func (c *Cron) EveryMinuteWithFunc(job func())
func (*Cron) EveryMinuteWithJob ¶
func (*Cron) EverySecondWithFunc ¶
func (c *Cron) EverySecondWithFunc(job func())
func (*Cron) EverySecondWithJob ¶
func (*Cron) EveryWeeklyWithFunc ¶
func (c *Cron) EveryWeeklyWithFunc(job func())
func (*Cron) EveryWeeklyWithJob ¶
func (*Cron) HoursWithFunc ¶
func (*Cron) MinutesWithFunc ¶
func (*Cron) RunWithFunc ¶
func (*Cron) SecondsWithFunc ¶
func (*Cron) WeeklyOnWithFunc ¶
Click to show internal directories.
Click to hide internal directories.