passthrough

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2024 License: Apache-2.0, EPL-2.0 Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL