Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCPUPercentageUnknown = errors.New("CPU percentage unknown")
)
View Source
var Events = pluginEvents{ SpamPerformed: events.NewEvent(SpamStatsCaller), AvgSpamMetricsUpdated: events.NewEvent(AvgSpamMetricsCaller), }
View Source
var (
PLUGIN = node.NewPlugin("Spammer", node.Disabled, configure, run)
)
Functions ¶
func AvgSpamMetricsCaller ¶ added in v0.4.0
func AvgSpamMetricsCaller(handler interface{}, params ...interface{})
AvgSpamMetricsCaller is used to signal new AvgSpamMetrics.
func SpamStatsCaller ¶ added in v0.4.0
func SpamStatsCaller(handler interface{}, params ...interface{})
SpamStatsCaller is used to signal new SpamStats.
Types ¶
type AvgSpamMetrics ¶ added in v0.4.0
AvgSpamMetrics are average metrics of the created spam.
Click to show internal directories.
Click to hide internal directories.