Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func SyncDeviceFromSqlite ¶
SyncDeviceFromSqlite sync device from sqlite
Types ¶
type DTController ¶
type DTController struct { HeartBeatToModule map[string]chan interface{} DTContexts *dtcontext.DTContext DTModules map[string]dtmodule.DTModule Stop chan bool }
DTController controller for devicetwin
func InitDTController ¶
func InitDTController(context *context.Context) (*DTController, error)
InitDTController init dtcontroller
func (*DTController) RegisterDTModule ¶
func (dtc *DTController) RegisterDTModule(name string)
RegisterDTModule register dtmodule
type DeviceTwin ¶
type DeviceTwin struct {
// contains filtered or unexported fields
}
DeviceTwin the module
Click to show internal directories.
Click to hide internal directories.