Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchedulerService ¶
type SchedulerService struct {
// contains filtered or unexported fields
}
func NewSchedulerService ¶
func NewSchedulerService(cron *cron.Cron) *SchedulerService
func (*SchedulerService) AddFunc ¶
func (s *SchedulerService) AddFunc(cron string, action func()) (cron.EntryID, error)
func (*SchedulerService) RemoveFunc ¶
func (s *SchedulerService) RemoveFunc(id cron.EntryID)
func (*SchedulerService) Run ¶
func (s *SchedulerService) Run()
func (*SchedulerService) RunAsync ¶
func (s *SchedulerService) RunAsync()
func (*SchedulerService) Stop ¶
func (s *SchedulerService) Stop()
Click to show internal directories.
Click to hide internal directories.