Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CronScheduler ¶
type CronScheduler struct {
// contains filtered or unexported fields
}
func NewCronScheduler ¶
func NewCronScheduler() *CronScheduler
func (*CronScheduler) AddFunc ¶
func (s *CronScheduler) AddFunc( spec string, cmd func(), ) error
func (*CronScheduler) Run ¶
func (s *CronScheduler) Run(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.