Skip to content
Tool to send/receive input to NATS Streaming messaging system, modeled on Unix netcat and cat.
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
go.mod
go.sum
stancat.go

README.md

STANCAT

A Go tool to send/receive input to STAN messaging system, modeled on Unix netcat and cat.

Based upon natscat.

License MIT

Installation

go install github.com/servicelab/stancat

Basic Usage

Sending to a STAN subject

# 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

Listening on a STAN subject

# Listen to a specific subject, writing messages in buffered mode (CRLF appended)
stancat -l -s test -b
You can’t perform that action at this time.