Skip to content
/ gomqtt Public

MQTT command line client sutiable for scripting

Notifications You must be signed in to change notification settings

Hades32/gomqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

A go MQTT command line client

MQTT client that should be suitable for use in (bash) scripts.

Usage of gomqtt:

-clientid string
      the mqtt clientid to use (optional)
-ignore-payload
      if set, will only print a summary line per message
-ignore-retained
      if set, will only consider live (non-retained) messages
-insecure
      if set, will allow TLS/SSL connections without certificate and hostname validation
-msg string
      the message to publish on the '-pub' topic
-msg-count int
      number of messages to receive before exitting (default 1)
-pub string
      the topic to publish to (after subscriptions have been setup)
-sub string
      the topic(s) to subscribe to (may be a comma separated list)
-url string
      the server url to connect to (default "tcp://localhost:1883")

About

MQTT command line client sutiable for scripting

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages