A Go tool to send/receive input to STAN messaging system, modeled on Unix netcat and cat.
Based upon natscat.
go install github.com/servicelab/stancat# Send a message to subject 'test'
stancat -s test -m "Test message"
# Send contents of a file to subject 'test'
stancat -s test <README.md# Listen to a specific subject, writing messages in buffered mode (CRLF appended)
stancat -l -s test -b