proxy

package
v1.1.1-0...-f7ff9f2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MQTTProxy

type MQTTProxy struct {
	Conf *conf.Configuration

	Metrics metrics.ProxyMetrics
	// contains filtered or unexported fields
}

func CreateMQTTProxy

func CreateMQTTProxy(conf *conf.Configuration) *MQTTProxy

func (*MQTTProxy) MqttMsgRewriter

func (p *MQTTProxy) MqttMsgRewriter(user *store.User) *rewrite.MsgRewriter

func (*MQTTProxy) RegisterSession

func (p *MQTTProxy) RegisterSession(conn net.Conn)

func (*MQTTProxy) UnRegisterSession

func (p *MQTTProxy) UnRegisterSession(conn net.Conn)

type ProxyConn

type ProxyConn interface {
	Id() string
	Close()
}

Jump to

Keyboard shortcuts

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