package iot /* ArozOS IoT Handler This handler provide adaptive functions to different protocol based IoT devices (aka this is just a wrapper class. See independent IoT module for more information) */ //Defination of a control endpoint type Endpoint struct { RelPath string //Relative path for this endpoint. If the access path is 192.168.0.100:8080/api1, then this value should be /api1 Name string //Name of the this endpoint. E.g. "Toggle Light" Desc string //Description of function. E.g. "Toggle the ligh on and off" } //Defination of an IoT device type Device struct { Name string //Name of the device Model string //Model number of the device Version string //Device firmware Manufacturer string //