UNPKG

ndk-rpc-cluster

Version:

Enterprise-grade RPC cluster system with load balancing, fault tolerance, service discovery and automatic failover support

4 lines 196 B
// MiddleServer import MiddleServer from "../index.mjs"; const middle = new MiddleServer({ registryHost: "localhost", registryPort: 3331, showLog: true }); await middle.start();