mqtt

package
v0.0.0-...-c031121 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter interface {
	PublishUplink(appEUI types.AppEUI, devEUI types.DevEUI, req core.DataUpAppReq) error
	PublishActivation(appEUI types.AppEUI, devEUI types.DevEUI, req core.OTAAAppReq) error
	SubscribeDownlink(handler core.HandlerServer) error
}

Adapter represents the interface of an application

func NewAdapter

func NewAdapter(ctx log.Interface, client ttnMQTT.Client) Adapter

NewAdapter returns a new MQTT handler adapter

Jump to

Keyboard shortcuts

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