mqtt3

package
v1.1.13 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const MQTT = "mqtt3"
View Source
const MQTTTLS = "mqtt3tls"

Variables

This section is empty.

Functions

func Run

func Run(conn net.Conn, timeout time.Duration, tls bool, target plugins.Target) (*plugins.Service, error)

Types

type MQTT3Plugin

type MQTT3Plugin struct{}

func (*MQTT3Plugin) Name

func (p *MQTT3Plugin) Name() string

func (*MQTT3Plugin) PortPriority

func (p *MQTT3Plugin) PortPriority(i uint16) bool

func (*MQTT3Plugin) Priority

func (p *MQTT3Plugin) Priority() int

func (*MQTT3Plugin) Run

func (p *MQTT3Plugin) Run(conn net.Conn, timeout time.Duration, target plugins.Target) (*plugins.Service, error)

func (*MQTT3Plugin) Type

func (p *MQTT3Plugin) Type() plugins.Protocol

type TLSPlugin

type TLSPlugin struct{}

func (*TLSPlugin) Name

func (p *TLSPlugin) Name() string

func (*TLSPlugin) PortPriority

func (p *TLSPlugin) PortPriority(i uint16) bool

func (*TLSPlugin) Priority

func (p *TLSPlugin) Priority() int

func (*TLSPlugin) Run

func (p *TLSPlugin) Run(conn net.Conn, timeout time.Duration, target plugins.Target) (*plugins.Service, error)

func (*TLSPlugin) Type

func (p *TLSPlugin) Type() plugins.Protocol

Jump to

Keyboard shortcuts

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