Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
GeneratorID string `json:"generatorID"`
GeneratorTopic string `json:"generatorTopic"`
Lat float32 `json:"lat"`
Lon float32 `json:"lon"`
Temperature Message `json:"temperature"`
Power Message `json:"power"`
Load Message `json:"load"`
CurrentFuel Message `json:"currentFuel"`
Base_fuel Message `json:"base_fuel"`
Fuel_used Message `json:"fuel_used"`
}
type Message ¶
type Message struct {
ItemTopic string `json:"ItemTopic"`
ItemId string `json:"ItemId"`
ItemName string `json:"ItemName"`
ItemValue interface{} `json:"ItemValue"`
ItemOldValue interface{} `json:"ItemOldValue"`
ItemDataType string `json:"ItemDataType"`
ChangedTimestamp string `json:"ChangedTimestamp"`
PreviousTimestamp string `json:"PreviousTimestamp"`
}
Click to show internal directories.
Click to hide internal directories.