Documentation ¶
Index ¶
- type Action
- type Priority
- type Processor
- type Schd
- func (s *Schd) AddProcessor(name string) error
- func (s *Schd) AddTask(task Task, toHead bool)
- func (s *Schd) ClearTaskQueue(priority Priority)
- func (s *Schd) DelProcessor(name string) (string, error)
- func (s *Schd) DeleteTask(key string, priority Priority) bool
- func (s *Schd) Init()
- func (s *Schd) Reset()
- func (s *Schd) TaskCount() int
- func (s *Schd) TaskDone(task Task, action Action)
- type Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Schd ¶
type Schd struct {
// contains filtered or unexported fields
}
func (*Schd) AddProcessor ¶
func (*Schd) ClearTaskQueue ¶
Click to show internal directories.
Click to hide internal directories.