Documentation
¶
Index ¶
- Constants
- type RoutinePool
- func (p *RoutinePool) Clear()
- func (p *RoutinePool) GetSingleResult() *fuzzTypes.Reaction
- func (p *RoutinePool) Pause()
- func (p *RoutinePool) Resize(size int)
- func (p *RoutinePool) Resume()
- func (p *RoutinePool) Start()
- func (p *RoutinePool) Status() int8
- func (p *RoutinePool) Stop()
- func (p *RoutinePool) Submit(task Task, timeout time.Duration) bool
- func (p *RoutinePool) Wait(maxTime time.Duration) bool
- type Task
Constants ¶
View Source
const ( StatStop = 0 StatRunning = 1 StatPause = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoutinePool ¶
type RoutinePool struct {
// contains filtered or unexported fields
}
var CurrentRp *RoutinePool
func (*RoutinePool) GetSingleResult ¶
func (p *RoutinePool) GetSingleResult() *fuzzTypes.Reaction
GetSingleResult 获取单个任务结果
func (*RoutinePool) Resize ¶
func (p *RoutinePool) Resize(size int)
func (*RoutinePool) Status ¶
func (p *RoutinePool) Status() int8
Click to show internal directories.
Click to hide internal directories.