Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateProbeEventMsg ¶
Types ¶
type MetricData ¶
type MetricData struct { Id int64 Metrics []*schema.MetricData Produced time.Time Format Format Msg []byte }
func MetricDataFromMsg ¶
func MetricDataFromMsg(msg []byte) (MetricData, error)
parses format and id (cheap), but doesn't decode metrics (expensive) just yet.
func (*MetricData) DecodeMetricData ¶
func (m *MetricData) DecodeMetricData() error
type ProbeEvent ¶
type ProbeEvent struct { Id int64 Produced time.Time Event *schema.ProbeEvent Format Format Msg []byte }
func ProbeEventFromMsg ¶
func ProbeEventFromMsg(msg []byte) (*ProbeEvent, error)
func (*ProbeEvent) DecodeProbeEvent ¶
func (e *ProbeEvent) DecodeProbeEvent() error
Click to show internal directories.
Click to hide internal directories.