Documentation ¶
Overview ¶
Package cloudsyncmgr provides functionalities to handle the cloud synchronization
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudSync ¶
type CloudSync interface { InitiateCloudSync(isCloudSet string) error //implemented by external REST API RequestCloudSyncConf(host string, clientID string, message mqttmgr.Message, topic string) string }
CloudSync is the interface for starting Cloud synchronization
type CloudSyncImpl ¶
type CloudSyncImpl struct{}
CloudSyncImpl struct
func (*CloudSyncImpl) InitiateCloudSync ¶ added in v1.1.4
func (c *CloudSyncImpl) InitiateCloudSync(isCloudSet string) (err error)
InitiateCloudSync initiate CloudSync
func (*CloudSyncImpl) RequestCloudSyncConf ¶ added in v1.1.4
func (c *CloudSyncImpl) RequestCloudSyncConf(host string, clientID string, message mqttmgr.Message, topic string) string
RequestCloudSyncConf is configuration request handler
Click to show internal directories.
Click to hide internal directories.