Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

egg-dj-dubbo

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-dj-dubbo

egg plugin to call dubbo service

  • 1.0.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

egg-dj-dubbo

Install

$ npm i egg-dj-dubbo --save

Usage

// {app_root}/config/plugin.js
exports.dubbo = {
  enable: true,
  package: 'egg-dj-dubbo',
};

Configuration

use node-zookeeper-dubbo, see here.

// {app_root}/config/config.default.js
exports.dubbo = {
            application:{name:'demo-provider'},
            registry:'localhost:2181',
            dubboVer:'3.5.10',
            timeout: 6000, // 整个socket链接超时时间 默认6s
            root:'dubbo',// 不填默认dubbo
            dependencies:{
                Foo:{
                    interface:'com.alibaba.dubbo.demo.provider.DemoService',
                    dubboTimeout: 6000 // 单个应用超时时间
                },
            }
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT

Keywords

FAQs

Package last updated on 19 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc