Skip to content

shogsbro/natscat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

NATSCAT

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

License MIT

Installation

go get github.com/shogsbro/natscat

Basic Usage

Sending to a NATS subject

# Send a message to subject 'test'
natscat -s test -m "Test message"

# Send contents of a file to subject 'test'
natscat -s test <README.md

Listening on a NATS subject

# Listen to a specific subject, writing messages in buffered mode (CRLF appended)
natscat -l -s test -b

# Listen to all subjects
natscat -l -s '>'

About

cat to/from subject on NATS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages