MCPcopy Create free account
hub / github.com/chainreactors/spray / AddRecursive

Method AddRecursive

core/runner.go:407–416  ·  view source on GitHub ↗
(bl *baseline.Baseline)

Source from the content-addressed store, hash-verified

405}
406
407func (r *Runner) AddRecursive(bl *baseline.Baseline) {
408 // 递归新任务
409 task := &Task{
410 baseUrl: bl.UrlString,
411 depth: bl.RecuDepth + 1,
412 origin: NewOrigin(r.Option.NewStatistor(bl.UrlString, 0)),
413 }
414
415 r.AddPool(task)
416}
417
418func (r *Runner) AddPool(task *Task) {
419 if _, ok := r.PoolName[task.baseUrl]; ok {

Callers 1

OutputHandlerMethod · 0.95

Calls 3

AddPoolMethod · 0.95
NewOriginFunction · 0.85
NewStatistorMethod · 0.80

Tested by

no test coverage detected