eventmessage

package
v0.0.0-...-2e12031 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2018 License: GPL-3.0 Imports: 3 Imported by: 9

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL