Discover Packages
github.com/zgwit/iot-master/v4
payload
package
Version:
v4.1.5
Opens a new window with list of versions in this module.
Published: Apr 28, 2024
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Alarm struct {
Product string `json:"product,omitempty"`
Device string `json:"device,omitempty"`
Type string `json:"type,omitempty"`
Title string `json:"title,omitempty"`
Message string `json:"message,omitempty"`
Level uint `json:"level,omitempty"`
}
type DeviceProperties struct {
Id string `json:"id"`
Time int64 `json:"time,omitempty"`
Properties []Property `json:"properties"`
}
type Event struct {
Id string `json:"id"`
Name string `json:"name"`
Title string `json:"title"`
Message string `json:"message,omitempty"`
Output map[string ]any `json:"output"`
}
type Notify struct {
Alarm
User string `json:"user,omitempty"`
Email string `json:"email,omitempty"`
Cellphone string `json:"cellphone,omitempty"`
}
type Property struct {
Name string `json:"name"`
Time int64 `json:"time,omitempty"`
Value any `json:"value"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.