om-service-mesh-client

1.0.2 • Public • Published

om-service-mesh-client

om-service-mesh-client

use

const OmServiceMeshClient = require('om-service-mesh-client')({
    MASTER_SERVICE_ADDRESS: 'ws://localhost:3000',
    serviceId: 'serviceId',
    serviceName: 'serviceName',
    serviceAddress: 'http://localhost:8080',
});
OmServiceMeshClient.on('config.update', () => console.log('on:config.update'));
OmServiceMeshClient.emit('config.update');

Readme

Keywords

none

Package Sidebar

Install

npm i om-service-mesh-client

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

4.37 kB

Total Files

4

Last publish

Collaborators

  • lyrstar