The highest tagged major version is
v4 .
Discover Packages
github.com/zgwit/iot-master/v3
payload
package
Version:
v3.4.25
Opens a new window with list of versions in this module.
Published: Dec 13, 2023
License: GPL-3.0
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.