Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDefaultDeviceHandler ¶
func CreateDefaultDeviceHandler(shadowStateHolder ShadowStateHolder) handlers.MessageHandler
CreateDefaultDeviceHandler instantiates a new passthrough handler that forwards messages received from local message broker on event and telemetry topics as device-to-cloud messages.
Types ¶
type ShadowStateHolder ¶
type ShadowStateHolder interface { // GetCurrentShadowState provides the current state of the shadow with the specified shadowID GetCurrentShadowState(shadowID string) interface{} }
ShadowStateHolder contains information for the current state of the shadows
Click to show internal directories.
Click to hide internal directories.