Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CronScheduler ¶
type CronScheduler struct { *cron.Cron // contains filtered or unexported fields }
CronScheduler is a cron-like job scheduler.
func NewCronScheduler ¶
func NewCronScheduler(ctx context.Context) *CronScheduler
NewCronScheduler returns a new Cron.
func (*CronScheduler) Shutdown ¶
func (s *CronScheduler) Shutdown()
Shutdonw gracefully shuts down the CronServer.
Click to show internal directories.
Click to hide internal directories.