文件名称:node-dubbo-client:node dubbo 消费者提供者
文件大小:58KB
文件格式:ZIP
更新时间:2024-08-23 12:07:19
provider consumer dubbo JavaScript
node-dubbo-client Installation npm install --save node-dubbo-client Example consumer const dubbo = require('node-dubbo-client'); dubbo.config({}); dubbo .consumer .getService({ service: 'test.service', group: 'test', version: '1.0.0' }) .call('testMethod', ['params']) .then((result) => console.log(result)) .catch((err) => console.error(err)); provider const dubbo = require('node-dubbo-cl
【文件预览】:
node-dubbo-client-master
----.travis.yml(264B)
----.eslintrc(996B)
----index.js(713B)
----package.json(1KB)
----test()
--------registry()
--------.eslintrc(45B)
--------utils.js(683B)
--------common.spec.js(2KB)
--------protocol()
--------utils.spec.js(2KB)
--------consumer()
--------config.spec.js(1KB)
--------provider()
----LICENSE(1KB)
----.npmignore(116B)
----types.d.ts(1KB)
----.gitignore(73B)
----CHANGELOG.md(189B)
----lib()
--------registry()
--------config()
--------protocol()
--------constants()
--------consumer()
--------provider()
--------common()
--------utils()
----README.md(4KB)
----yarn.lock(58KB)
----.eslintignore(14B)
----.editorconfig(207B)