grpc-host-builder:用于gRPC主机的轻量级配置器-源码

上传者: 42122838 | 上传时间: 2021-03-22 14:07:03 | 文件大小: 95KB | 文件类型: ZIP
grpc-host-builder 用于gRPC主机的轻量级配置器 安装 npm i grpc-host-builder 用法 const { GrpcHostBuilder } = require ( "grpc-host-builder" ) ; /*...*/ class InterceptorForTom { constructor ( serverContext ) { this . _logger = serverContext . createLogger ( ) ; } async invoke ( call , methodDefinition , next ) { /*...*/ if ( call . request . name === "Tom" ) return { message : "Hello again, Tom!

文件下载

资源详情

[{"title":"( 26 个子文件 95KB ) grpc-host-builder:用于gRPC主机的轻量级配置器-源码","children":[{"title":"grpc-host-builder-develop","children":[{"title":".gitignore <span style='color:#111;'> 925B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":".github","children":[{"title":"workflows","children":[{"title":"ci.yaml <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".prettierrc <span style='color:#111;'> 24B </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"grpcHostBuilder.test.js <span style='color:#111;'> 14.48KB </span>","children":null,"spread":false},{"title":"include","children":[{"title":"google","children":[{"title":"api","children":[{"title":"http.proto <span style='color:#111;'> 11.82KB </span>","children":null,"spread":false},{"title":"annotations.proto <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"protos","children":[{"title":"greeter.proto <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".vscode","children":[{"title":"launch.json <span style='color:#111;'> 977B </span>","children":null,"spread":false},{"title":"settings.json <span style='color:#111;'> 463B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"implementationsWrappers","children":[{"title":"rxToServerWritableStream.js <span style='color:#111;'> 702B </span>","children":null,"spread":false},{"title":"exceptionsHandler.js <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"callsFinalizers","children":[{"title":"unaryCall.js <span style='color:#111;'> 253B </span>","children":null,"spread":false},{"title":"bidirectionalStreamingCall.js <span style='color:#111;'> 354B </span>","children":null,"spread":false},{"title":"ingoingStreamingCall.js <span style='color:#111;'> 368B </span>","children":null,"spread":false},{"title":"outgoingStreamingCall.js <span style='color:#111;'> 274B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"interceptors","children":[{"title":"contextsInitializer.js <span style='color:#111;'> 367B </span>","children":null,"spread":false}],"spread":true},{"title":"index.js <span style='color:#111;'> 71B </span>","children":null,"spread":false},{"title":"index.d.ts <span style='color:#111;'> 7.06KB </span>","children":null,"spread":false},{"title":"logging","children":[{"title":"defaultLogger.js <span style='color:#111;'> 424B </span>","children":null,"spread":false},{"title":"defaultLoggersFactory.js <span style='color:#111;'> 64B </span>","children":null,"spread":false}],"spread":false},{"title":"grpcHostBuilder.js <span style='color:#111;'> 7.12KB </span>","children":null,"spread":false}],"spread":true},{"title":".travis.yml <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 263.65KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明