stomp-cli

command module
v0.0.0-...-0ee0443 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

README

stomp CLI

A simple CLI to help troubleshoot connectivity to a STOMP server.

References:

Build Instructions

Commonly:

CGO_ENABLED=0 go build -o build/stomp-cli

Prepend with GOOS=[linux|darwin|windows] and GOARCH=[amd64|386] to build for a different platform.

Usage Instructions

% stomp-cli check connect [address] [flags]

Check connection to a STOMP server and returns the version

Usage:
  stomp check connect [flags]

Aliases:
  connect, conn

Flags:
  -c, --connectTimeout int   Connection timeout in seconds (optional) (default 10)
  -h, --help                 help for connect
  -p, --password string      Password (optional)
  -k, --skipTls              Skip TLS (optional)
  -t, --transport string     Transport type (default|tls). Default to 'tls' (default "tls")
  -u, --username string      Username (optional)
Example
% stomp-cli check connect my.server:61617 --transport=tls --skipTls=true --username my-user --password my-password
{"level":"info","time":1691409749,"message":"1.2"}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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