mqtt

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2014 License: MIT Imports: 0 Imported by: 78

Documentation

Overview

Package mqtt provides the variables and the APIs which are commonly used in the communications over MQTT.

Index

Constants

View Source
const (
	// QoS0 represents "QoS 0: At most once delivery".
	QoS0 byte = iota
	// QoS1 represents "QoS 1: At least once delivery".
	QoS1
	// QoS2 represents "QoS 2: Exactly once delivery".
	QoS2
)

Values of Qos

Variables

This section is empty.

Functions

func ValidQoS

func ValidQoS(qos byte) bool

ValidQoS returns true if the input QoS equals to QoS0, QoS1 or QoS2.

Types

This section is empty.

Directories

Path Synopsis
Package client provides an MQTT Client.
Package client provides an MQTT Client.
Package packet provides MQTT Control Packets.
Package packet provides MQTT Control Packets.

Jump to

Keyboard shortcuts

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