Skip to content

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

License

Notifications You must be signed in to change notification settings

servicelab/stancat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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