摘要:
index.js var amqp = require('amqplib/callback_api'); const MyConsume = require('./MyConsume'); amqp.connect('amqp://name:password!@localhost:5672/vhos 阅读全文
摘要:
const http = require('http'); // 创建一个 HTTP 服务器 const server = http.createServer((req, res) => { // 设置响应头 res.writeHead(200, {'Content-Type': 'applicat 阅读全文