fs2-grpc:FS2cats效果的gRPC实现-源码

上传者: 42128963 | 上传时间: 2021-02-16 12:16:57 | 文件大小: 38KB | 文件类型: ZIP
fs2-grpc-FS2 / cats效果的gRPC实现 SBT配置 project/plugins.sbt : addSbtPlugin( " org.lyranthe.fs2-grpc " % " sbt-java-gen " % " " ) build.sbt : enablePlugins( Fs2Grpc ) 协议缓冲文件 protobuf文件应存储在/src/main/protobuf 。 多个项目 如果生成的代码被多个项目使用,则可以在其他项目所依赖的公共项目中构建客户端/服务器代码。 例如: lazy val protobuf = project .in(file( " protobuf " )) .enablePlugins( Fs2Grpc ) lazy val client =

文件下载

资源详情

[{"title":"( 39 个子文件 38KB ) fs2-grpc:FS2cats效果的gRPC实现-源码","children":[{"title":"fs2-grpc-master","children":[{"title":"sbt-java-gen","children":[{"title":"src","children":[{"title":"main","children":[{"title":"scala","children":[{"title":"Fs2GrpcPlugin.scala <span style='color:#111;'> 4.72KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 101B </span>","children":null,"spread":false},{"title":"e2e","children":[{"title":"src","children":[{"title":"main","children":[{"title":"protobuf","children":[{"title":"test.proto <span style='color:#111;'> 302B </span>","children":null,"spread":false},{"title":"test_service.proto <span style='color:#111;'> 347B </span>","children":null,"spread":false},{"title":"package.proto <span style='color:#111;'> 144B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"resources","children":[{"title":"TestServiceFs2Grpc.scala.txt <span style='color:#111;'> 4.06KB </span>","children":null,"spread":false}],"spread":true},{"title":"scala","children":[{"title":"io","children":[{"title":"fs2","children":[{"title":"grpc","children":[{"title":"CodegenSpec.scala <span style='color:#111;'> 591B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"project","children":[{"title":"plugins.sbt <span style='color:#111;'> 680B </span>","children":null,"spread":false},{"title":"build.properties <span style='color:#111;'> 17B </span>","children":null,"spread":false},{"title":"project","children":[{"title":"plugins.sbt <span style='color:#111;'> 59B </span>","children":null,"spread":false}],"spread":true},{"title":"Dependencies.scala <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false}],"spread":true},{"title":"java-runtime","children":[{"title":"src","children":[{"title":"main","children":[{"title":"scala","children":[{"title":"client","children":[{"title":"Fs2UnaryClientCallListener.scala <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"Fs2StreamClientCallListener.scala <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"Fs2ClientCall.scala <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"server","children":[{"title":"Fs2ServerCallListener.scala <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"Fs2StreamServerCallListener.scala <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"Fs2ServerCallHandler.scala <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"models.scala <span style='color:#111;'> 640B </span>","children":null,"spread":false},{"title":"Fs2ServerCall.scala <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"Fs2UnaryServerCallListener.scala <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"implicits.scala <span style='color:#111;'> 94B </span>","children":null,"spread":false},{"title":"GeneratedCompanion.scala <span style='color:#111;'> 3.06KB </span>","children":null,"spread":false},{"title":"syntax","children":[{"title":"AllSyntax.scala <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"ManagedChannelBuilderSyntax.scala <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false},{"title":"ServerBuilderSyntax.scala <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"package.scala <span style='color:#111;'> 227B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"scala","children":[{"title":"client","children":[{"title":"ClientSuite.scala <span style='color:#111;'> 9.59KB </span>","children":null,"spread":false},{"title":"DummyClientCall.scala <span style='color:#111;'> 828B </span>","children":null,"spread":false}],"spread":true},{"title":"server","children":[{"title":"ServerSuite.scala <span style='color:#111;'> 6.83KB </span>","children":null,"spread":false},{"title":"DummyServerCall.scala <span style='color:#111;'> 742B </span>","children":null,"spread":false}],"spread":true},{"title":"Fs2GrpcSuite.scala <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":".github","children":[{"title":"workflows","children":[{"title":"ci.yml <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"clean.yml <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false},{"title":"java-gen","children":[{"title":"src","children":[{"title":"main","children":[{"title":"scala","children":[{"title":"Fs2GrpcServicePrinter.scala <span style='color:#111;'> 5.77KB </span>","children":null,"spread":false},{"title":"Fs2CodeGenerator.scala <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".scalafmt.conf <span style='color:#111;'> 105B </span>","children":null,"spread":false},{"title":"build.sbt <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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