Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventMessage ¶
type EventMessage struct { ClientID int32 `json:"clientid"` EventID int32 `json:"eventid"` Timestamp int64 `json:"timestamp"` Quantities []quantities.Quantity `json:"quantities"` }
EventMessage contains the data of an event
func (*EventMessage) UnmarshalJSON ¶
func (ce *EventMessage) UnmarshalJSON(b []byte) error
UnmarshalJSON is part of the json interface for EventMessage
Click to show internal directories.
Click to hide internal directories.