onsend

command
Version: 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: 6 Imported by: 0

Documentation

Overview

Copyright © 2015-2018 Guy M. Allard

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Show receiving a RECIPT, requested from a SEND.

Examples:

	# Publish 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 onsend.go

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

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

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL