Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrQueueFull = errors.New("queue channel is full")
)
Functions ¶
This section is empty.
Types ¶
type Factory ¶
func NewEndlessQueueFactory ¶
func NewEndlessQueueFactory() Factory
func NewSimpleQueueFactory ¶
func NewSimpleQueueFactory() Factory
type Job ¶
type Job struct { Exploit *models.Exploit Target *models.Target // contains filtered or unexported fields }
type Metrics ¶
type Metrics struct { ExploitInstancesRunning *prometheus.GaugeVec ExploitsFinished *prometheus.CounterVec ExploitsFailed *prometheus.CounterVec ExploitRunTime *prometheus.HistogramVec MaxJobs prometheus.Gauge }
func NewMetrics ¶
Click to show internal directories.
Click to hide internal directories.