Site updated: 2022-09-22 10:39:18
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
2022/09/22/protobuf生成js文件/index.html
Normal file
1
2022/09/22/protobuf生成js文件/index.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
26
atom.xml
26
atom.xml
@ -8,7 +8,7 @@
|
||||
<author>
|
||||
<name>Hito li</name>
|
||||
</author>
|
||||
<updated>2022-09-21T01:46:00.000Z</updated>
|
||||
<updated>2022-09-22T02:30:00.000Z</updated>
|
||||
<category term="hito" />
|
||||
<category term="無言" />
|
||||
<category term="博客" />
|
||||
@ -16,6 +16,30 @@
|
||||
<category term="笔记" />
|
||||
<category term="心得体会" />
|
||||
<category term="踩坑" />
|
||||
<entry>
|
||||
<id>https://blog.jingxiyuan.cn/2022/09/22/protobuf%E7%94%9F%E6%88%90js%E6%96%87%E4%BB%B6/</id>
|
||||
<title>protobuf生成js文件</title>
|
||||
<link rel="alternate" href="https://blog.jingxiyuan.cn/2022/09/22/protobuf%E7%94%9F%E6%88%90js%E6%96%87%E4%BB%B6/"/>
|
||||
<content type="html"><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>
|
||||
</content>
|
||||
<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/" />
|
||||
<updated>2022-09-22T02:30:00.000Z</updated>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>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/</id>
|
||||
<title>记一次netty-socketio服务端连接不上的问题</title>
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
12
feed.json
12
feed.json
@ -6,6 +6,18 @@
|
||||
"description": "hito的博客",
|
||||
"home_page_url": "https://blog.jingxiyuan.cn",
|
||||
"items": [
|
||||
{
|
||||
"id": "https://blog.jingxiyuan.cn/2022/09/22/protobuf%E7%94%9F%E6%88%90js%E6%96%87%E4%BB%B6/",
|
||||
"url": "https://blog.jingxiyuan.cn/2022/09/22/protobuf%E7%94%9F%E6%88%90js%E6%96%87%E4%BB%B6/",
|
||||
"title": "protobuf生成js文件",
|
||||
"date_published": "2022-09-22T02:30:00.000Z",
|
||||
"content_html": "<h1 id=\"下载工具\"><a class=\"anchor\" href=\"#下载工具\">#</a> 下载工具</h1>\n<p><span class=\"exturl\" data-url=\"aHR0cHM6Ly92ZXJzYXdlYi5kbC5zb3VyY2Vmb3JnZS5uZXQvcHJvamVjdC9wcm90b2NvbC1idWZmZXJzLm1pcnJvci92My4xOS41L3Byb3RvYy0zLjE5LjUtd2luNjQuemlw\">protoc-3.19.5-win64.zip</span></p>\n<h1 id=\"生成js文件\"><a class=\"anchor\" href=\"#生成js文件\">#</a> 生成 js 文件</h1>\n<ol>\n<li>\n<p>把 xxx.proto 文件拷贝到解压的 protoc-3.19.5-win64\\bin 目录下</p>\n</li>\n<li>\n<p>cmd 到相同的 bin 目录下</p>\n</li>\n<li>\n<p>执行 protoc.exe --js_out=import_style=commonjs,binary:. ./xxx.proto 命令,就会在 bin 目录下生成 xxx_pb.js 文件</p>\n</li>\n</ol>\n",
|
||||
"tags": [
|
||||
"技术分享",
|
||||
"protobuf",
|
||||
"js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "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/",
|
||||
"url": "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/",
|
||||
|
File diff suppressed because one or more lines are too long
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>
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
tags/js/index.html
Normal file
1
tags/js/index.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
tags/protobuf/index.html
Normal file
1
tags/protobuf/index.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user