func NewWorkerEvent() *WorkerEvent {
	return &WorkerEvent{
		Type:      "",
		Hostname:  "",
		Timestamp: 0,
		PID:       0,
		Clock:     0,
		UTCOffset: 0,
		SWSystem:    "",
		SWVersion:   "",
		LoadAverage: []float32{},
		Processed:   0,
		Active:      0,
		Freq:        0,
		SWIdentity:  "",
	}
}
/*
NewWorkerEvent is a factory function to create a new WorkerEvent object
package celeriac
import (
	"time"
)
type Event struct {
	Type string `json:"type"`
	Hostname string `json:"hostname"`
	Timestamp float32 `json:"timestamp"`
	PID int `json:"pid"`
	Clock int `json:"clock"`
	UTCOffset int `json:"utcoffset"`
	Data interface{} `json:"data, omitempty"`
}
func NewEvent() *Event {
	return &Event{
		Type:      "",
		Hostname:  "",
		Timestamp: 0,
		PID:       0,
		Clock:     0,
		UTCOffset: 0,
	}
}
func (event *Event) TimestampFormatted() string {
	dt := time.Unix(int64(event.Timestamp), 0)
	return dt.UTC().Format(ConstTimeFormat)
}
type WorkerEvent struct {
	Type      string  `json:"type"`
	Hostname  string  `json:"hostname"`
	Timestamp float32 `json:"timestamp"`
	PID       int     `json:"pid"`
	Clock     int     `json:"clock"`
	UTCOffset int     `json:"utcoffset"`
	SWSystem string `json:"sw_sys"`
	SWVersion string `json:"sw_ver"`
	LoadAverage []float32 `json:"loadavg"`
	Freq float32 `json:"freq"`
	SWIdentity string `json:"sw_ident"`
	Processed int `json:"processed, omitempt"`
	Active int `json:"active, omitempty"`
}