一个用于构建零配置微服务的 Node.js 库。
cote 允许您在 Node.js 中编写零配置微服务,而无需使用 nginx、haproxy、Redis、rabbitmq 或其他任何东西。它包含了电池 — 以及充电器!
const cote = require('cote');
const timeService = new cote.Responder({ name: 'Time Service' });
timeService.on('time', (req, cb) => {
cb(new Date());
});
``` 在 `client.js` 中 ...
+ 一个后台,可实时更新产品目录并通过 RESTful API(Express.js)显示销售情况暂无开放 Issues,或尚未同步最近议题。