摘要: 转自:https://zhuanlan.zhihu.com/p/294129746 ,讲的很深奥,目前还看不懂。 https://github.com/apache/incubator-brpc/blob/master/docs/cn/bthread.md https://ehds.github.i 阅读全文
posted @ 2022-08-28 21:52 lypbendlf 阅读(712) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/nk_test/article/details/72682780 1.CallMethod 在客户端生成的存根类Stub,实际上通过callmethod来实现的调用远程方法, void EchoService_Stub::Foo(::google:: 阅读全文
posted @ 2022-08-28 17:28 lypbendlf 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/qq_38410730/article/details/102837401 1.install命令 install用于指定在安装时运行的规则。它可以用来安装很多内容,可以包括目标二进制、动态库、静态库以及文件、目录、脚本等: install(TARG 阅读全文
posted @ 2022-08-28 15:32 lypbendlf 阅读(4508) 评论(0) 推荐(0) 编辑
摘要: 转自:https://colobu.com/2017/03/16/Protobuf3-language-guide/#指定字段类型 1.消息message类型 假设你想定义一个“搜索请求”的消息格式,每一个请求含有一个查询字符串、你感兴趣的查询结果所在的页数,以及每一页多少条查询结果。 syntax 阅读全文
posted @ 2022-08-28 14:46 lypbendlf 阅读(514) 评论(0) 推荐(0) 编辑