Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Id string `json:"id"` Time string `json:"time"` EventType string `json:"eventType"` Subject string `json:"subject"` Data map[string]any `json:"data"` }
func (*Event) ParseBytes ¶
type Meter ¶
type Reading ¶
type Reading struct { Event string `json:"event"` MeterId string `json:"meterId"` Subject string `json:"subject"` Segment string `json:"segment,omitempty"` Type AggType `json:"type"` Count int `json:"count,omitempty"` Sum float64 `json:"sum,omitempty"` Avg float64 `json:"avg,omitempty"` Max float64 `json:"max,omitempty"` Min float64 `json:"min,omitempty"` Func string `json:"func,omitempty"` Unique map[string]int `json:"unique,omitempty"` }
Click to show internal directories.
Click to hide internal directories.