Documentation
¶
Index ¶
Constants ¶
View Source
const ( CloudConnected = "cloud_connected" CloudDisconnected = "cloud_disconnected" )
constants for cloud connection
Variables ¶
View Source
var ( // ErrConnectionLost is sentinel err to indicates connection is lost between EdgeCore and CloudCore ErrConnectionLost = errors.New("connection lost between EdgeCore and CloudCore") )
Functions ¶
func SetConnected ¶ added in v1.13.0
func SetConnected(isConnected bool)
SetConnected set isCloudConnected value true indicates edge and cloud establish connection successfully false indicates edge and cloud connection interrupted.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.