iot

package
v0.0.0-...-0b08f29 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package iot provides core IoT functionality

It contains two RESTful apis which implements device authorization and a device twin, and a MQTT broker which also implements device authorization and a device twin.

The RESTful api itself can be used with different MQTT brokers, such as AWS IoT. It only needs a mesage publisher interface to publish device twin message to the device. The broker does satisfy this interface, hence broker and api work together well.

TODO

In order to fully support AWS IoT, the API must be made slightly more configurable for device authorization, so that the certificates can also be added to AWS IoT itself.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessagePublisher

type MessagePublisher interface {
	PublishMessageQ1(topic string, payload []byte)
}

MessagePublisher is an interface to publish MQTT message

Directories

Path Synopsis
Package credentials implements a REST interface which provides device credentials to things
Package credentials implements a REST interface which provides device credentials to things
Package mqtt provides the IoT broker with device twin support
Package mqtt provides the IoT broker with device twin support
Package twin provides the REST interface for the core IoT appliance device twin
Package twin provides the REST interface for the core IoT appliance device twin

Jump to

Keyboard shortcuts

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