Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrTaskAdded = errors.New("task already added")
)
Functions ¶
This section is empty.
Types ¶
type ScheduleService ¶
type ScheduleService struct {
// contains filtered or unexported fields
}
func NewSchedulerService ¶
func NewSchedulerService() *ScheduleService
func (*ScheduleService) AddTask ¶
func (s *ScheduleService) AddTask(task *Task)
func (*ScheduleService) GetTask ¶
func (s *ScheduleService) GetTask(id string) *Task
func (*ScheduleService) Name ¶
func (s *ScheduleService) Name() string
func (*ScheduleService) Start ¶
func (s *ScheduleService) Start() error
Click to show internal directories.
Click to hide internal directories.