nodejs grpc
npm包
grpc
@grpc/proto-loader
server.js
const path = require('path');
const grpc = require('grpc');
const protoLoader = require('@grpc/proto-loader');
const PROTO_PATH = path.resolve(__dirname, 'protos/HelloWorld.proto');
const packageDefinition = protoL
原创
2020-06-28 08:57:16 ·
337 阅读 ·
0 评论