bash-nats

command module
v0.0.0-...-954547e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2016 License: MPL-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Bash nats

Bash nats is a layer built in top of go, to allow bash commands manage nats communication.

Build status

  • master: CircleCI

Installation

go get git.r3labs.io:libraries/bash-nats

Useing it

Generally bash-nats can be used like:

$ bash-nats subject manager arguments

Where:

  • subject : the nats subject which will be listening at
  • manager : the bash command that will be called in order to manage the message
  • arguments : extra arguments the manager may need

So, a real example can look like:

bash-nats create-instance jruby adapter.rb

Bash nats can also have multiple subscriptions by comma delimiting subjects, like so:

bash-nats create-instance,update-instance jruby adapter.rb

Running Tests

make test

Custom NATS server

If you have your nats running on a non default host you can define this host on the environment variable NATS_URI

Contributing

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

Moreover, if your pull request contains patches or features, you must include relevant unit tests.

Versioning

For transparency into our release cycle and in striving to maintain backward compatibility, this project is maintained under the Semantic Versioning guidelines.

Code and documentation copyright since 2015 r3labs.io authors.

Code released under the Mozilla Public License Version 2.0.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址