Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConstantSchedule ¶
func Every ¶
func Every(duration time.Duration) ConstantSchedule
type CronSchedule ¶
type CronSchedule struct {
Expression *cronexpr.Expression
}
func Cron ¶
func Cron(expression string) CronSchedule
type RandomInterval ¶
func EveryRandom ¶
func EveryRandom(interval time.Duration, plusOrMinus float64) RandomInterval
func (RandomInterval) RandomRange ¶
func (r RandomInterval) RandomRange() (min, max float64)
Click to show internal directories.
Click to hide internal directories.