brokers

package
v0.0.0-...-81dd437 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SubjectSenML represents subject to subscribe for the SenML messages.
	SubjectSenML = "channels.*.senml.>"
	// SubjectJSON represents subject to subscribe for the JSON messages.
	SubjectJSON = "channels.*.json.>"
	// SubjectSmtp represents subject to subscribe for the SMTP notifications.
	SubjectSmtp = "smtp"
	// SubjectSmpp represents subject to subscribe for the SMPP notifications.
	SubjectSmpp = "smpp"
	// SubjectWebhook represents subject to subscribe for sending the Webhooks.
	SubjectWebhook = "webhook"
)

Variables

This section is empty.

Functions

func NewPubSub

func NewPubSub(url, queue string, logger logger.Logger) (messaging.PubSub, error)

func NewPublisher

func NewPublisher(url string) (messaging.Publisher, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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