【文件属性】:
文件名称:svs-amqplib:使用 amqplib 的实用程序
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-23 13:33:23
JavaScript
svs-amqplib
用于使用实用程序。
例子
var amqp = require ( 'svs-amqplib' ) ( config . url )
/**
* Create a new amqp connection and create a new channel
* Subsequent calls to amqp.getChannel will return the same channel
* (No new connection, unless connection is disconnected)
*/
amqp . getChannel ( function ( er , chan ) {
// `chan` is a amqplib channel
} )
/**
* Create a new amqp connection and create
【文件预览】:
svs-amqplib-master
----channel.js(1KB)
----confirm-channel.js(1KB)
----LICENSE(1KB)
----README.md(1KB)
----reconnect.js(1KB)
----.gitignore(12B)
----index.js(471B)
----package.json(562B)