mqroute

package
v0.0.0-...-813d64d Latest Latest
Warning

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

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

README

mqroute

MQTT route

Documentation

Overview

Package mqroute a mqtt-based routing

By taka@cmwang.net

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service mqtt servicce

func NewService

func NewService() (*Service, error)

NewService create service

func (*Service) SetChannels

func (b *Service) SetChannels(req, resp chan [3]string)

SetChannels set request and response channels, format:

{cmd, payload, tid}

func (*Service) Start

func (b *Service) Start()

Start start service

func (*Service) Stop

func (b *Service) Stop()

Stop stop service

Jump to

Keyboard shortcuts

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