func (g Group) Process(cache map[string]interface{}, tr *system.TaskRunner) error { log.Printf("---->%v", g.number) var i uint32 = 0 for ;i < g.number; i++ { innertr, err := createTaskRunner(&g.baseGroup) if err != nil { return err } innertr.Run() } tr.EndTask(false) return nil }
func (w RandomWait) Process(cache map[string]interface{}, tr *system.TaskRunner) error { log.Printf("Waiting between %v and %v ms", w.min, w.max) tr.EndTask(false) return nil }
func (w Wait) Process(cache map[string]interface{}, tr *system.TaskRunner) error { log.Printf("Waiting %v ms", w.time) tr.EndTask(false) return nil }
func (d Display) Process(cache map[string]interface{}, tr *system.TaskRunner) error { log.Printf(d.text) tr.EndTask(false) return nil }