mqtt5

package
v0.0.0-...-2645c98 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const MQTT = "mqtt5"
View Source
const MQTTTLS = "mqtt5tls"

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 MQTT5Plugin

type MQTT5Plugin struct{}

func (*MQTT5Plugin) Name

func (p *MQTT5Plugin) Name() string

func (*MQTT5Plugin) PortPriority

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

func (*MQTT5Plugin) Priority

func (p *MQTT5Plugin) Priority() int

func (*MQTT5Plugin) Run

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

func (*MQTT5Plugin) Type

func (p *MQTT5Plugin) 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