Site updated: 2022-09-22 10:39:18
This commit is contained in:
28
rss.xml
28
rss.xml
@ -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[ <h1 id="下载工具"><a class="anchor" href="#下载工具">#</a> 下载工具</h1>
|
||||
<p><span class="exturl" data-url="aHR0cHM6Ly92ZXJzYXdlYi5kbC5zb3VyY2Vmb3JnZS5uZXQvcHJvamVjdC9wcm90b2NvbC1idWZmZXJzLm1pcnJvci92My4xOS41L3Byb3RvYy0zLjE5LjUtd2luNjQuemlw">protoc-3.19.5-win64.zip</span></p>
|
||||
<h1 id="生成js文件"><a class="anchor" href="#生成js文件">#</a> 生成 js 文件</h1>
|
||||
<ol>
|
||||
<li>
|
||||
<p>把 xxx.proto 文件拷贝到解压的 protoc-3.19.5-win64\bin 目录下</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>cmd 到相同的 bin 目录下</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>执行 protoc.exe --js_out=import_style=commonjs,binary:. ./xxx.proto 命令,就会在 bin 目录下生成 xxx_pb.js 文件</p>
|
||||
</li>
|
||||
</ol>
|
||||
]]></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>
|
||||
|
Reference in New Issue
Block a user