Categorygithub.com/gregoryv/tt
modulepackage
0.12.0
Repository: https://github.com/gregoryv/tt.git
Documentation: pkg.go.dev

# README

Build Status codecov Maintainability

gregoryv/tt - package provides components for writing mqtt-v5.0 clients and servers

Quick start

$ go install github.com/gregoryv/tt/cmd/tt@latest
$ tt -h

Even though this repository provides a basic client/server(WIP) command it's main purpose is to provide capabilities for others to write their own clients depending on their situation.

NOTE! this module is still not ready for public use. I'm experimenting with the design, so major changes will occur.

This package uses the sibling package gregoryv/mq for encoding control packets on the wire.

The design focuses on decoupling each specific feature as much as possible. One example being the creation of a network connection is not enforced, which makes it easy to create inmemory clients and servers during testing.

# Packages

Package arn provides an MQTT topic filter matcher.
No description provided by the author
Command feature documents tt features The command executes each feature and writes the documentation for it to stdout.
Package event provides client and server event types.
Package spec implements implementation verifiers against the MQTTv5 specification [4.7 Topic names and filters] [4.7 Topic names and filters]: https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901241.
Package ttx provides test types.

# Functions

No description provided by the author
NewServer returns a server ready to run.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Bind holds server listening settings.
Client implements a mqtt-v5 client.
No description provided by the author

# Interfaces

No description provided by the author