数据结构
文章平均质量分 50
数据结构
帅的没朋友~
这个作者很懒,什么都没留下…
展开
-
nodejs rabbitmq protobuf
一:安装erlang 参考Installing on Debian and Ubuntu — RabbitMQ二:安装rabbitmqInstalling on Debian and Ubuntu — RabbitMQrabbitmq server 下载地址:Releases · rabbitmq/rabbitmq-server (github.com) sudo dpkg -i rabbitmq-server_3.9.8-1...原创 2021-12-07 12:00:05 · 1608 阅读 · 0 评论 -
brcp 编译
一:源码下载Release brpc 0.9.7 · apache/incubator-brpc · GitHub二:安装依赖sudo apt-get install -y git g++ make libssl-dev libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-devsudo apt-get install -y libsnappy-dev...原创 2021-08-03 20:03:19 · 449 阅读 · 0 评论 -
c++ brpc
1.书写protoc2文件: protoc文件是谷歌出品的网络通讯规范,他被brpc用作底层消息结构模块。 按照自带的example,echo_c++中的protoc文件定义,我们可以先复制到一个自己的目录。proto文件定义了客户端和服务端的请求、相应的消息格式。syntax="proto2"; //指定proto版本option cc_generic_services = true; //设置为生成C++类message MsgClient{ ...原创 2021-08-26 13:15:52 · 1120 阅读 · 0 评论 -
c/c++ protobuf 序列化 反序列化
一:序列化二:反序列化原创 2021-08-24 13:08:18 · 1899 阅读 · 0 评论 -
Linux C++ protoBuf
一:编译protoBuf源码二:引用头文件和库文件三:事例原创 2021-08-19 15:22:08 · 449 阅读 · 0 评论