conndisc

command
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Connect and Disconnect from a STOMP broker using TCP.

Examples:

	# Connect to a broker with all defaults:
	# Host is "localhost"
	# Port is 61613
	# Login is "guest"
	# Passcode is "guest
	# Virtual Host is "localhost"
	# Protocol is 1.1
	go run conndisc.go

	# Connect to a broker using STOMP protocol level 1.0:
	STOMP_PROTOCOL=1.0 go run conndisc.go

	# Connect to a broker using a custom host and port:
	STOMP_HOST=tjjackson STOMP_PORT=62613 go run conndisc.go

	# Connect to a broker using a custom port and virtual host:
	STOMP_PORT=41613 STOMP_VHOST="/" go run conndisc.go

	# Connect to a broker using a custom login and passcode:
	STOMP_LOGIN="userid" STOMP_PASSCODE="t0ps3cr3t" go run conndisc.go

Jump to

Keyboard shortcuts

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