Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PLUGIN = node.NewPlugin("Spammer", node.Disabled, configure, run) // events of the spammer Events = &spammer.SpammerEvents{ SpamPerformed: events.NewEvent(spammer.SpamStatsCaller), AvgSpamMetricsUpdated: events.NewEvent(spammer.AvgSpamMetricsCaller), } // ErrSpammerDisabled is returned if the spammer plugin is disabled. ErrSpammerDisabled = errors.New("Spammer plugin disabled") )
View Source
var ( // ErrCPUPercentageUnknown is returned if the CPU usage couldn't be determined. ErrCPUPercentageUnknown = errors.New("CPU percentage unknown") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.