Documentation ¶
Index ¶
Constants ¶
View Source
const ( //设备在离线状态事件 EventCodeDeviceStatus = "deviceStatus" //driver-box服务状态 EventCodeServiceStatus = "serviceStatus" //添加设备 EventCodeAddDevice = "addDevice" //即将执行ExportTo EventCodeWillExportTo = "willExportTo" //设备自动发现事件 EventDeviceDiscover = "deviceDiscover" EventCodeLinkEdgeTrigger = "linkEdgeTrigger" )
View Source
const ( // UnknownDevice 未知设备 UnknownDevice = "unknownDevice" // UnknownLinkEdge 未知场景 UnknownLinkEdge = "unknownLinkEdge" )
场景相关事件
View Source
const ( //服务启动成功 ServiceStatusHealthy = "healthy" //服务启动异常 ServiceStatusError = "error" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.