mqtt

package
v0.0.0-...-c3db561 Latest Latest
Warning

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

Go to latest
Published: May 7, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Proxy

func Proxy(w http.ResponseWriter, r *http.Request)

Proxy HTTP to MQTT proxy

func Run

func Run()

Run run mqtt server

Types

type ProxyData

type ProxyData struct {
	ResponseTopic string
	Method        string
	URL           string
	Proto         string
	Host          string
	Header        http.Header
	Body          []byte
}

ProxyData ProxyData

type ProxyStruct

type ProxyStruct struct {
	ResponseTopic string
	Data          []byte
}

Jump to

Keyboard shortcuts

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