itest

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package itest provides tests which integrate MQTT client and server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

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

Adapter provides simple MQTT server behavior

func (*Adapter) Connect

Connect is called when new client is connected.

func (*Adapter) Disconnect

func (a *Adapter) Disconnect(srv *server.Server, ca server.ClientAdapter, err error)

Disconnect is called when a known client is disconnected some reason.

Jump to

Keyboard shortcuts

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