destination

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package destination provides interfaces for publishing device status change events to mqtt.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Destination

type Destination interface {
	Publish(device *tplink.Device, client mqtt.Client) error
}

Destination is an interface which defines somewhere which events are published when a device changes state.

Directories

Path Synopsis
Package homeassistant provides a destination which submits events to mqtt queues for consumption by home assistant.
Package homeassistant provides a destination which submits events to mqtt queues for consumption by home assistant.
Package standard publishes to standard mqtt channels.
Package standard publishes to standard mqtt channels.

Jump to

Keyboard shortcuts

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