基于thrift的node.js rpc服务

1.在node.js 服务下建立node_modules文件,npm install  thrift 下载thrift到该文件下。node 2.编写idl文件。user.thrift 内容以下:npm     struct User{  测试      1: string uid,  ui      2: string uname,  spa      3: bool usex,  server
相关文章
相关标签/搜索