Documentation
¶
Index ¶
- type Cron
- func (c *Cron) At(hour string) *Cron
- func (c *Cron) Days() *Cron
- func (c *Cron) Each(interval time.Duration) *Cron
- func (c *Cron) Friday() *Cron
- func (c *Cron) In(timezone *time.Location) *Cron
- func (c *Cron) MaxRetry(maxRetry uint) *Cron
- func (c *Cron) Monday() *Cron
- func (c *Cron) Retry(retryInterval time.Duration) *Cron
- func (c *Cron) Saturday() *Cron
- func (c *Cron) Start(action func(time.Time) error, onError func(error))
- func (c *Cron) Stop()
- func (c *Cron) String() string
- func (c *Cron) Sunday() *Cron
- func (c *Cron) Thursday() *Cron
- func (c *Cron) Tuesday() *Cron
- func (c *Cron) Wednesday() *Cron
- func (c *Cron) Weekdays() *Cron
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cron ¶
type Cron struct {
// contains filtered or unexported fields
}
Cron definition
Click to show internal directories.
Click to hide internal directories.