Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cron ¶
type Cron interface { AddFunc(fre string, function TaskFunc) (string, error) AddDailyFunc(function TaskFunc) (string, error) AddHourlyFunc(function TaskFunc) (string, error) AddEveryFunc(duration time.Duration, function TaskFunc) (string, error) RemoveFunc(id string) error StartCron() StopCron() }
func NewCronInstance ¶
func NewCronInstance() Cron
Click to show internal directories.
Click to hide internal directories.