Skip to content

Commit

Permalink
nats docs
Browse files Browse the repository at this point in the history
  • Loading branch information
esatterwhite committed Jan 4, 2017
1 parent 8685854 commit e709def
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/nats.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@
* @author Eric Satterwhite
* @since 1.0.0.0
* @requires url
* @requires ionats
* @requires nats
* @requires keef
* @requires debug
* @example
const nats= require('skyring/lib/nats')
const client = nats.createClient()
client.publish('foobar', JSON.stringify({'foo':'bar'}), () => {
nats.quit()
})
*/

const url = require('url')
Expand Down

0 comments on commit e709def

Please sign in to comment.