mqtt_service

package
v0.0.0-...-91ef8d6 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MqttService

type MqttService struct {
	// contains filtered or unexported fields
}

MqttService service descriptor

func Service

func Service() *MqttService

Service singleton instance

func (*MqttService) Publish

func (that *MqttService) Publish(topic string, payload string) *MqttService

Publish text

func (*MqttService) PublishData

func (that *MqttService) PublishData(topic string, jsonData interface{}) *MqttService

PublishData

func (*MqttService) PublishRaw

func (that *MqttService) PublishRaw(topic string, payload string, qos byte, retained bool) *MqttService

Publish text

Jump to

Keyboard shortcuts

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