bus

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 CommandsReqBus

func CommandsReqBus(router *message.Router,
	pub message.Publisher,
	sub message.Subscriber,
	reqCache *cache.Cache,
	deviceID string,
) *message.Handler

CommandsReqBus creates the commands request bus.

func MessageBus

func MessageBus(router *message.Router,
	pub message.Publisher,
	sub message.Subscriber,
	settings *config.CloudSettings,
	handlers []handlers.MessageHandler,
)

MessageBus creates the message bus for processing & forwarding the messages from the Subscriber to the Publisher.

Types

This section is empty.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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