package queue import ( "fmt" "github.com/c4t-but-s4d/neo/v2/internal/models" ) type Output struct { Exploit *models.Exploit Target *models.Target Out []byte } func NewOutput(job *Job, out []byte) *Output { return &Output{ Exploit: job.Exploit, Target: job.Target, Out: out, } } func (o *Output) String() string { return fmt.Sprintf("%s (%s): %s", o.Exploit, o.Target, o.Out) }