This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch cn-site
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/cn-site by this push:
new fea6543422 deploy: 30bd06eb549e4f872490085c5db8515697adbcb1
fea6543422 is described below
commit fea6543422ba1f0bec588e9a067cd9d0ba10667d
Author: AlbumenJ <[email protected]>
AuthorDate: Mon Feb 6 09:20:42 2023 +0000
deploy: 30bd06eb549e4f872490085c5db8515697adbcb1
---
sitemap.xml | 2 +-
zh/docs3-v2/golang-sdk/preface/concept/index.html | 2 +-
.../golang-sdk/preface/concept/protocol/index.html | 30 +++-------------------
zh/sitemap.xml | 2 +-
4 files changed, 6 insertions(+), 30 deletions(-)
diff --git a/sitemap.xml b/sitemap.xml
index e806529f33..b56f317537 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://cn.dubbo.apache.org/zh/sitemap.xml</loc><lastmod>2023-02-06T17:16:22+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-02-05T09:16:05+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://cn.dubbo.apache.org/zh/sitemap.xml</loc><lastmod>2023-02-06T17:16:35+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-02-05T09:16:05+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
diff --git a/zh/docs3-v2/golang-sdk/preface/concept/index.html
b/zh/docs3-v2/golang-sdk/preface/concept/index.html
index 5e0fb0d7a9..a6d78bdd03 100644
--- a/zh/docs3-v2/golang-sdk/preface/concept/index.html
+++ b/zh/docs3-v2/golang-sdk/preface/concept/index.html
@@ -3,7 +3,7 @@
<link rel=stylesheet
href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body
class=td-section><header><nav class="js-navbar-scroll navbar navbar-expand
navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand
href=/zh/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path
class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05
25.45-22.11V7.25H68.46zm21.24-28h8.6V31H89.7z [...]
<a
href="https://github.com/apache/dubbo-website/new/master/content/zh/docs3-v2/golang-sdk/preface/concept/_index.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+mat
[...]
<a
href="https://github.com/apache/dubbo-website/issues/new?title=%e6%a6%82%e5%bf%b5%e4%bd%93%e7%b3%bb"
target=_blank><i class="fab fa-github fa-fw"></i> 提交文档问题</a>
-<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas
fa-tasks fa-fw"></i> 提交项目问题</a></div></aside><main class="col-12 col-md-9
col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb class="d-none d-md-block
d-print-none"><ol class="breadcrumb spb-1"><li class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh/docs3-v2/>SDK 手册</a></li><li
class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh/docs3-v2/golang-sdk/>Golang</a></li><li
class=breadcrumb-item [...]
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas
fa-tasks fa-fw"></i> 提交项目问题</a></div></aside><main class="col-12 col-md-9
col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb class="d-none d-md-block
d-print-none"><ol class="breadcrumb spb-1"><li class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh/docs3-v2/>SDK 手册</a></li><li
class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh/docs3-v2/golang-sdk/>Golang</a></li><li
class=breadcrumb-item [...]
<button class="btn btn-primary mb-4 feedback--answer
feedback--answer-no">No</button><p class="feedback--response
feedback--response-yes">Glad to hear it! Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p><p class="feedback--response feedback--response-no">Sorry to
hear that. Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p></div><script>const yesButton=document.querySelector(".feedback
[...]
<script src=/js/bootstrap.min.js
integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy
crossorigin=anonymous></script>
<script
src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js
integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k="
crossorigin=anonymous></script>
diff --git a/zh/docs3-v2/golang-sdk/preface/concept/protocol/index.html
b/zh/docs3-v2/golang-sdk/preface/concept/protocol/index.html
index 9603806d13..3f44dc1128 100644
--- a/zh/docs3-v2/golang-sdk/preface/concept/protocol/index.html
+++ b/zh/docs3-v2/golang-sdk/preface/concept/protocol/index.html
@@ -1,33 +1,9 @@
-<!doctype html><html lang=zh class=no-js><head><meta charset=utf-8><meta
name=viewport
content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta
name=generator content="Hugo 0.110.0"><meta name=ROBOTS content="INDEX,
FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link
rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png
sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png
sizes=16x16><link rel=icon type=image/png href=/favicons [...]
-1.1 打解包协议 Dubbo-go 服务框架内置的打解包协议都是基于 TCP/IP 协议栈的,在此基础之上,封装/引入了多种协议,例如
Triple(dubbo3)、Dubbo、gRPC。
-这一类协议重点关注 TCP 报文的封装和拆解过程,保证点对点的可靠通信。
-在 dubbo-go 生态中,支持多种网络往往值得这一类协议。
-1.2 序列化协议 序列化协议负责将内存中的对象以特定格式序列化为二进制流。一些主流的序列化库有:具有较好可读性、应用广泛的 json
序列化方式;较高压缩效率,性能较好的 protobuf 序列化方式;适配与 Java 语言的 hessian2 序列化方式等。Dubbo-go
内置了这三种序列化方式
-序列化协议是需要开发者在业务开发过程中关注的,序列化协议往往需要特定的对象标注:
-一个由 protoc-gen-go 生成的 protobuf 序列对象的例子:
-type HelloRequest struct { state protoimpl.MessageState sizeCache
protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
} 一个可与 java 服务互通的 hessian2 序列化对象
-type HelloRequest struct { Name string `hessian:"name"` } func (u
*HelloRequest) JavaClassName() string { return "org."><meta
property="og:type" content="article"><meta property="og:url"
content="https://cn.dubbo.apache.org/zh/docs3-v2/golang-sdk/preface/concept/protocol/"><meta
property="article:section" content="docs3-v2"><meta
property="article:modified_time" content="2023-01-02T22:00:39+08:00"><meta
property="og:site_name" content="Apache Dubbo"><meta itemprop=name conten [...]
-1.1 打解包协议 Dubbo-go 服务框架内置的打解包协议都是基于 TCP/IP 协议栈的,在此基础之上,封装/引入了多种协议,例如
Triple(dubbo3)、Dubbo、gRPC。
-这一类协议重点关注 TCP 报文的封装和拆解过程,保证点对点的可靠通信。
-在 dubbo-go 生态中,支持多种网络往往值得这一类协议。
-1.2 序列化协议 序列化协议负责将内存中的对象以特定格式序列化为二进制流。一些主流的序列化库有:具有较好可读性、应用广泛的 json
序列化方式;较高压缩效率,性能较好的 protobuf 序列化方式;适配与 Java 语言的 hessian2 序列化方式等。Dubbo-go
内置了这三种序列化方式
-序列化协议是需要开发者在业务开发过程中关注的,序列化协议往往需要特定的对象标注:
-一个由 protoc-gen-go 生成的 protobuf 序列对象的例子:
-type HelloRequest struct { state protoimpl.MessageState sizeCache
protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
} 一个可与 java 服务互通的 hessian2 序列化对象
-type HelloRequest struct { Name string `hessian:"name"` } func (u
*HelloRequest) JavaClassName() string { return "org."><meta
itemprop=dateModified content="2023-01-02T22:00:39+08:00"><meta
itemprop=wordCount content="216"><meta itemprop=keywords content><meta
name=twitter:card content="summary"><meta name=twitter:title
content="网络协议"><meta name=twitter:description content="1. RPC 服务框架与网络协议 网络协议在
RPC 场景十分重要,在微服务场景下,服务进程之间的通信依赖可以连通的网络,以及client与server
端保持一致的网络协议。网络协议是一个抽象的概念,站在 [...]
-1.1 打解包协议 Dubbo-go 服务框架内置的打解包协议都是基于 TCP/IP 协议栈的,在此基础之上,封装/引入了多种协议,例如
Triple(dubbo3)、Dubbo、gRPC。
-这一类协议重点关注 TCP 报文的封装和拆解过程,保证点对点的可靠通信。
-在 dubbo-go 生态中,支持多种网络往往值得这一类协议。
-1.2 序列化协议 序列化协议负责将内存中的对象以特定格式序列化为二进制流。一些主流的序列化库有:具有较好可读性、应用广泛的 json
序列化方式;较高压缩效率,性能较好的 protobuf 序列化方式;适配与 Java 语言的 hessian2 序列化方式等。Dubbo-go
内置了这三种序列化方式
-序列化协议是需要开发者在业务开发过程中关注的,序列化协议往往需要特定的对象标注:
-一个由 protoc-gen-go 生成的 protobuf 序列对象的例子:
-type HelloRequest struct { state protoimpl.MessageState sizeCache
protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
} 一个可与 java 服务互通的 hessian2 序列化对象
-type HelloRequest struct { Name string `hessian:"name"` } func (u
*HelloRequest) JavaClassName() string { return "org."><script
type=application/javascript>var
doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new
Date,ga("create","UA-112489517-1","auto"),ga("send","pageview"))</script><script
async src=https://www.google-analytics.com/analytics.js></script>
+<!doctype html><html lang=zh class=no-js><head><meta charset=utf-8><meta
name=viewport
content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta
name=generator content="Hugo 0.110.0"><meta name=ROBOTS content="INDEX,
FOLLOW"><link rel="shortcut icon" href=/favicons/favicon.ico><link
rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png
sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png
sizes=16x16><link rel=icon type=image/png href=/favicons [...]
<link rel=preload
href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css
as=style><link
href=/scss/main.min.8637cb48af1c2672dbf22e4e83652c0cebe2d667477b88c8a046be155bcf7cfe.css
rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
crossorigin=anonymous></script>
<link rel=stylesheet
href=https://cdn.jsdelivr.net/npm/@docsearch/css@3></head><body
class=td-page><header><nav class="js-navbar-scroll navbar navbar-expand
navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand
href=/zh/><span class=navbar-logo><svg xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 321.39 78.54"><title id="title19">DUBBO LOGO</title><path
class="cls-1" d="M68.46 50.38c0 14.06 11.39 22.11 25.45 22.11s25.45-8.05
25.45-22.11V7.25H68.46zm21.24-28h8.6V31H89.7zm0 [...]
<a
href="https://github.com/apache/dubbo-website/new/master/content/zh/docs3-v2/golang-sdk/preface/concept/protocol.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+m
[...]
<a
href="https://github.com/apache/dubbo-website/issues/new?title=%e7%bd%91%e7%bb%9c%e5%8d%8f%e8%ae%ae"
target=_blank><i class="fab fa-github fa-fw"></i> 提交文档问题</a>
-<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas
fa-tasks fa-fw"></i> 提交项目问题</a></div><div class=td-toc><nav
id=TableOfContents><ul><li><a href=#1-rpc-服务框架与网络协议>1. RPC
服务框架与网络协议</a><ul><li><a href=#11-打解包协议>1.1 打解包协议</a></li><li><a
href=#12-序列化协议>1.2 序列化协议</a></li><li><a href=#13-接口协议>1.3
接口协议</a></li></ul></li><li><a href=#2-dubbo-go-支持的网络协议>2. Dubbo-go
支持的网络协议</a></li></ul></nav></div></aside><main class="col-12 col-md-9 col-xl-8
pl-md-5" role=main><nav ar [...]
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas
fa-tasks fa-fw"></i> 提交项目问题</a></div><div class=td-toc><nav
id=TableOfContents><ul><li><a href=#1-rpc-服务框架与网络协议>1. RPC
服务框架与网络协议</a><ul><li><a href=#11-打解包协议>1.1 打解包协议</a></li><li><a
href=#12-序列化协议>1.2 序列化协议</a></li><li><a href=#13-接口协议>1.3
接口协议</a></li></ul></li><li><a href=#2-dubbo-go-支持的网络协议>2. Dubbo-go
支持的网络协议</a></li></ul></nav></div></aside><main class="col-12 col-md-9 col-xl-8
pl-md-5" role=main><nav ar [...]
</span></span><span style=display:flex><span> state
protoimpl.MessageState
</span></span><span style=display:flex><span> sizeCache
protoimpl.SizeCache
</span></span><span style=display:flex><span> unknownFields
protoimpl.UnknownFields
@@ -66,7 +42,7 @@ type HelloRequest struct { Name string
`hessian:"name"` } func (u *Hello
</span></span><span style=display:flex><span> <span
style=color:#dc322f>int32</span> age <span style=color:#719e07>=</span> <span
style=color:#2aa198>3</span>;
</span></span><span style=display:flex><span>}
</span></span></code></pre></div><p>接口协议与序列化协议的关系</p><ul><li>接口协议是抽象的概念,一种接口协议可以使用多种接口描述语言来编写,并且可以转化成多种序列化协议对象。</li></ul><h2
id=2-dubbo-go-支持的网络协议>2. Dubbo-go 支持的网络协议</h2><p>Dubbo-go
支持的网络协议和序列化方式如下:</p><table><thead><tr><th>协议</th><th>协议名 (用于配置)</th><th
style=text-align:center>序列化方式</th><th>默认序列化方式</th></tr></thead><tbody><tr><td>Triple
【推荐】</td><td>tri</td><td
style=text-align:center>pb/hessian2/msgpack/自定义</td><td>pb</td></tr><tr><td>Dubbo</td><td>dubbo</td><td
style=text-align:center [...]
-<button class="btn btn-primary mb-4 feedback--answer
feedback--answer-no">No</button><p class="feedback--response
feedback--response-yes">Glad to hear it! Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p><p class="feedback--response feedback--response-no">Sorry to
hear that. Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p></div><script>const yesButton=document.querySelector(".feedback
[...]
+<button class="btn btn-primary mb-4 feedback--answer
feedback--answer-no">No</button><p class="feedback--response
feedback--response-yes">Glad to hear it! Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p><p class="feedback--response feedback--response-no">Sorry to
hear that. Please <a
href=https://github.com/apache/dubbo-website/issues/new>tell us how we can
improve</a>.</p></div><script>const yesButton=document.querySelector(".feedback
[...]
<script src=/js/bootstrap.min.js
integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy
crossorigin=anonymous></script>
<script
src=/js/main.min.67b5ab62cb078146d9ab8cea15d59ffc7645b89f33906c50ab421a4d5eca73e9.js
integrity="sha256-Z7WrYssHgUbZq4zqFdWf/HZFuJ8zkGxQq0IaTV7Kc+k="
crossorigin=anonymous></script>
<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
diff --git a/zh/sitemap.xml b/zh/sitemap.xml
index 01ac976663..955c5b7359 100644
--- a/zh/sitemap.xml
+++ b/zh/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://cn.dubbo.apache.org/zh/docs3-v2/java-sdk/faq/0/</loc><lastmod>2022-08-01T10:49:31+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority><xhtml:link
rel="alternate" hreflang="en"
href="https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/faq/0/"/><xhtml:link
rel="alternate" hreflang="zh" href="https://c [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://cn.dubbo.apache.org/zh/docs3-v2/java-sdk/faq/0/</loc><lastmod>2022-08-01T10:49:31+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority><xhtml:link
rel="alternate" hreflang="en"
href="https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/faq/0/"/><xhtml:link
rel="alternate" hreflang="zh" href="https://c [...]
\ No newline at end of file