Discover Packages
github.com/zgwit/iot-master/v4
product
package
Version:
v4.0.8
Opens a new window with list of versions in this module.
Published: Jan 31, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Event struct {
Name string `json:"name"`
Label string `json:"label"`
Description string `json:"description,omitempty"`
Type string `json:"type"`
Level uint8 `json:"level"`
Output []*Parameter `json:"output"`
}
type Function struct {
Name string `json:"name"`
Label string `json:"label"`
Description string `json:"description,omitempty"`
Async bool `json:"async"`
Input []*Parameter `json:"input"`
Output []*Parameter `json:"output"`
}
type Manifest struct {
Properties []*Property `json:"properties,omitempty"`
Functions []*Function `json:"functions,omitempty"`
Events []*Event `json:"events,omitempty"`
Parameters []*Parameter `json:"parameters,omitempty"`
Validators []*types .Validator `json:"validators,omitempty"`
Aggregators []*types .Aggregator `json:"aggregators,omitempty"`
}
type Parameter struct {
Name string `json:"name"`
Label string `json:"label"`
Description string `json:"description,omitempty"`
Type types .Type `json:"type"`
Unit string `json:"unit"`
Default any `json:"default,omitempty"`
}
type Property struct {
Name string `json:"name"`
Label string `json:"label"`
Description string `json:"description,omitempty"`
Type types .Type `json:"type"`
Unit string `json:"unit"`
Mode string `json:"mode"`
Store string `json:"store"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.