Go Application that combines nats sub and pub
Go to file
starkandwayne-bot 016fcb8206 Updating CODE_OF_CONDUCT.md 2019-01-15 15:22:30 -05:00
ci release v1.2.0 2018-06-12 02:39:44 +00:00
vendor vendor dependencies 2017-09-20 18:49:40 +10:00
.DS_Store Updated Help Message 2015-12-08 20:08:09 -05:00
.gitignore vendor dependencies 2017-09-20 18:49:40 +10:00
CODE_OF_CONDUCT.md Updating CODE_OF_CONDUCT.md 2019-01-15 15:22:30 -05:00
Dockerfile Added dockerfile 2016-06-29 14:39:45 +02:00
README.md Fixed formatting 2017-08-10 08:21:27 +02:00
nats.go Added TLS client cert, removed --ssl mode 2018-06-07 22:11:17 +02:00

README.md

nats cli

Go Application that combines nats sub and pub

Download

go get github.com/starkandwayne/nats

Actions

Pub

Publish a message on a subject

Sub

Subscribe to a subject and await messages

Request

Publish a message and await reply

Usage

  nats pub [-s server] [--ssl]  <subject> <msg> 
      or
  nats sub [-s server] [--ssl] [-t] [-r] <subject> 
      or
  nats req [-s server] [--ssl] [-t] [-r] [-w] <subject> <msg>