Site updated: 2022-09-22 10:39:18

This commit is contained in:
qinglong
2022-09-22 10:39:19 +08:00
parent 83b90e011f
commit 3b93cadc43
35 changed files with 95 additions and 32 deletions

28
rss.xml
View File

@ -10,8 +10,8 @@
</author>
<description>hito的博客</description>
<language>zh-CN</language>
<pubDate>Wed, 21 Sep 2022 09:46:00 +0800</pubDate>
<lastBuildDate>Wed, 21 Sep 2022 09:46:00 +0800</lastBuildDate>
<pubDate>Thu, 22 Sep 2022 10:30:00 +0800</pubDate>
<lastBuildDate>Thu, 22 Sep 2022 10:30:00 +0800</lastBuildDate>
<category term="hito" />
<category term="無言" />
<category term="博客" />
@ -19,6 +19,30 @@
<category term="笔记" />
<category term="心得体会" />
<category term="踩坑" />
<item>
<guid isPermalink="true">https://blog.jingxiyuan.cn/2022/09/22/protobuf%E7%94%9F%E6%88%90js%E6%96%87%E4%BB%B6/</guid>
<title>protobuf生成js文件</title>
<link>https://blog.jingxiyuan.cn/2022/09/22/protobuf%E7%94%9F%E6%88%90js%E6%96%87%E4%BB%B6/</link>
<category term="技术分享" scheme="https://blog.jingxiyuan.cn/categories/%E6%8A%80%E6%9C%AF%E5%88%86%E4%BA%AB/" />
<category term="protobuf" scheme="https://blog.jingxiyuan.cn/tags/protobuf/" />
<category term="js" scheme="https://blog.jingxiyuan.cn/tags/js/" />
<pubDate>Thu, 22 Sep 2022 10:30:00 +0800</pubDate>
<description><![CDATA[ &lt;h1 id=&#34;下载工具&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#下载工具&#34;&gt;#&lt;/a&gt; 下载工具&lt;/h1&gt;
&lt;p&gt;&lt;span class=&#34;exturl&#34; data-url=&#34;aHR0cHM6Ly92ZXJzYXdlYi5kbC5zb3VyY2Vmb3JnZS5uZXQvcHJvamVjdC9wcm90b2NvbC1idWZmZXJzLm1pcnJvci92My4xOS41L3Byb3RvYy0zLjE5LjUtd2luNjQuemlw&#34;&gt;protoc-3.19.5-win64.zip&lt;/span&gt;&lt;/p&gt;
&lt;h1 id=&#34;生成js文件&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#生成js文件&#34;&gt;#&lt;/a&gt; 生成 js 文件&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;把 xxx.proto 文件拷贝到解压的 protoc-3.19.5-win64\bin 目录下&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;cmd 到相同的 bin 目录下&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;执行 protoc.exe --js_out=import_style=commonjs,binary:. ./xxx.proto 命令,就会在 bin 目录下生成 xxx_pb.js 文件&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
]]></description>
</item>
<item>
<guid isPermalink="true">https://blog.jingxiyuan.cn/2022/09/21/%E8%AE%B0%E4%B8%80%E6%AC%A1netty-socket-io%E6%9C%8D%E5%8A%A1%E7%AB%AF%E8%BF%9E%E6%8E%A5%E4%B8%8D%E4%B8%8A%E7%9A%84%E9%97%AE%E9%A2%98/</guid>
<title>记一次netty-socketio服务端连接不上的问题</title>