2.2.0 • Published 3 years ago

17zy_node_rpc v2.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

rpc for node and java


Keywords

  • zookeeper
  • rpc

use example

process.env.NODE_ENV = "development";

var rpc = require("./index")();

const test = async () => {
  const invoke = await rpc(
    "com.voxlearning.utopia.service.school.api.SchoolExtService",
    "2018.03.16"
  );
  debugger;

  const res = await invoke("loadSchoolExtInfo", [75406]);

  console.log(res);
};

test();

您也可以参照 karp 自行二次封装。karp 封装

2.2.0

3 years ago

1.3.1

4 years ago