topics

package
v0.0.0-...-5090d89 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Layout

type Layout interface {
	AcceptedTopic(applicationUID string, requested []string) (accepted []string, ok bool)

	UplinkTopic(applicationUID, deviceID string) []string
	JoinAcceptTopic(applicationUID, deviceID string) []string
	DownlinkAckTopic(applicationUID, deviceID string) []string
	DownlinkNackTopic(applicationUID, deviceID string) []string
	DownlinkSentTopic(applicationUID, deviceID string) []string
	DownlinkFailedTopic(applicationUID, deviceID string) []string
	DownlinkQueuedTopic(applicationUID, deviceID string) []string
	DownlinkQueueInvalidatedTopic(applicationUID, deviceID string) []string
	LocationSolvedTopic(applicationUID, deviceID string) []string
	ServiceDataTopic(applicationUID, deviceID string) []string

	DownlinkPushTopic(applicationUID, deviceID string) []string
	IsDownlinkPushTopic(parts []string) bool
	ParseDownlinkPushTopic(parts []string) (deviceID string)
	DownlinkReplaceTopic(applicationUID, deviceID string) []string
	IsDownlinkReplaceTopic(parts []string) bool
	ParseDownlinkReplaceTopic(parts []string) (deviceID string)
}

Layout represents an MQTT topic layout.

var Default Layout = &v3{}

Default is the default topic layout.

Jump to

Keyboard shortcuts

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