sofa-registry-node
[![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] [![Test coverage][codecov-image]][codecov-url] [![David deps][david-image]][david-url]
Node.js SDK for SOFARegistry
Usage
const httpclient = ;const RegistryType RegistryClient = ;const client = config: endpoint: '127.0.0.1' port: 9603 env: 'sit' zone: 'DEFAULT_ZONE' dataCenter: 'test' appname: 'foo' instanceId: 'bar' recheckInterval: 500 logger: console httpclient; // publish dataclient; // subscribe dataclient; // subscribe config dataclient;