ravecat-watcher
v2.0.2
Published
Watcher for RaveCat
Downloads
1
Readme
RaveCat Watcher
npm install --save ravecat-watcher
yarn add ravecat-watcher
Example
import { setupWatcher } from 'ravecat-watcher';
setupWatcher({
watcherPort: 6000,
dispatcherUrl: 'http://localhost:3050',
onServiceUp: serviceName => {
},
onServiceDown: serviceName => {
},
onInstanceDown: (serviceName, instanceId) => {
}
});