随笔分类 -  gRPC

摘要:grpc的确是现在最流行的跨平台间的通信技术。远不止.net上使用。grpc是谷歌公司推出的跨语言平台之间的通信技术。和webapi不同的是,可以使用自己的语言和另一种语言进行通信。 简单来讲就是首先使用一种Proto的协议文件,可以生成客户端和服务端两种文件。客户端和服务端可以使用任意的语言。gr 阅读全文
posted @ 2024-10-23 10:11 似梦亦非梦 阅读(174) 评论(0) 推荐(0) 编辑
摘要:1.生成单个Proto.bat内容 @rem Copyright 2016, Google Inc. @rem All rights reserved. @rem @rem Redistribution and use in source and binary forms, with or with 阅读全文
posted @ 2024-09-13 16:26 似梦亦非梦 阅读(75) 评论(0) 推荐(0) 编辑
摘要:1.下载 Protocol Buffers 编译器(protoc) 前往 Protocol Buffers GitHub Releases 页面。在 "Assets" 下找到适合您系统的压缩文件,通常为 protoc-{version}-win32.zip 或 protoc-{version}-wi 阅读全文
posted @ 2024-09-09 00:45 似梦亦非梦 阅读(460) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示