hot

module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2019 License: EPL-2.0

README

HOT - Hono Test

This is a simple command line tool for testing Eclipse Hono™.

Start a test consumer

Fill in your connection information, and then execute the following command:

hot consume telemetry amqps://my.server:443 tenant

You can use the following flags:

--insecure
Skip the TLS verification.

Publish an HTTP message

Fill in your connection information, and then execute the following command:

hot publish http telemety https://my.server tenant device auth password payload

The following flags are supported:

--qos
Set the "Quality of Service". Defaults to 0.
--ttd
Set the "time till disconnect", the amount of seconds the HTTP call will wait for a command to the device

Publish an MQTT message

Fill in your connection information, and then execute the following command:

hot publish mqtt telemety ssl://my.server tenant device auth password payload

The following flags are supported:

--qos
Set the "Quality of Service". Defaults to 0.

Building

Building requires Go 1.12.x. You can build the binary by executing:

GO111MODULE=on go build -o hot ./cmd

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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