Skip to content

servicelab/stancat

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Tool to send/receive input to NATS Streaming messaging system, modeled on Unix netcat and cat.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages