Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GearmanWorker ¶
type GearmanWorker struct {
// contains filtered or unexported fields
}
GearmanWorker queries the gearmanserver and adds the extraced perfdata to the queue.
func NewGearmanWorker ¶
func NewGearmanWorker(address, queue, key string, results map[data.Datatype]chan collector.Printable, livestatusCacheBuilder *livestatus.CacheBuilder) *GearmanWorker
NewGearmanWorker generates a new GearmanWorker. leave the key empty to disable encryption, otherwise the gearmanpacketes are expected to be encrpyten with AES-ECB 128Bit and a 32 Byte Key.
Click to show internal directories.
Click to hide internal directories.