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 a96e3e3e83f deploy: 602e768176163ac20931869227073ca85ca407d8
a96e3e3e83f is described below
commit a96e3e3e83f9afba96e3adc2bfd312bbfe76260a
Author: Alanxtl <[email protected]>
AuthorDate: Thu Jan 22 06:05:53 2026 +0000
deploy: 602e768176163ac20931869227073ca85ca407d8
---
css/app.css | 2 +-
css/chunk-vendors.css | 2 +-
.../mannual/golang-sdk/refer/generic/index.html | 31 +++++++++--
en/sitemap.xml | 2 +-
js/app.js | 3 +-
js/chunk-vendors.js | 61 +---------------------
sitemap.xml | 2 +-
.../mannual/golang-sdk/refer/generic/index.html | 31 +++++++++--
zh-cn/sitemap.xml | 2 +-
9 files changed, 61 insertions(+), 75 deletions(-)
diff --git a/css/app.css b/css/app.css
index 44c2a2c2469..b9457c8de14 100644
--- a/css/app.css
+++ b/css/app.css
@@ -1 +1 @@
-h3[data-v-76eccb7f]{margin:40px 0
0}ul[data-v-76eccb7f]{list-style-type:none;padding:0}li[data-v-76eccb7f]{display:inline-block;margin:0
10px}a[data-v-76eccb7f]{color:#42b983}.form-layout[data-v-76eccb7f]{display:flex;justify-content:space-between;align-items:flex-start}.left-form[data-v-76eccb7f]{flex:1;max-width:calc(50%
-
20px);margin-right:20px}.right-text[data-v-76eccb7f]{flex-shrink:0;width:calc(50%
- 20px)}.left-form
.el-form-item__label[data-v-76eccb7f]{text-align:left}.left-form [...]
\ No newline at end of file
+/*Respond to static link checks, which will be dynamically replaced at build
time*/
\ No newline at end of file
diff --git a/css/chunk-vendors.css b/css/chunk-vendors.css
index 61c66238ea8..b9457c8de14 100644
--- a/css/chunk-vendors.css
+++ b/css/chunk-vendors.css
@@ -1 +1 @@
-@font-face{font-family:element-icons;src:url(../fonts/element-icons.ff18efd1.woff)
format("woff"),url(../fonts/element-icons.f1a45d74.ttf)
format("truetype");font-weight:400;font-display:"auto";font-style:normal}[class*="
el-icon-"],[class^=el-icon-]{font-family:element-icons!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;vertical-align:baseline;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:gr
[...]
\ No newline at end of file
+/*Respond to static link checks, which will be dynamically replaced at build
time*/
\ No newline at end of file
diff --git a/en/overview/mannual/golang-sdk/refer/generic/index.html
b/en/overview/mannual/golang-sdk/refer/generic/index.html
index ef0bf4360f6..aabb056c1ef 100644
--- a/en/overview/mannual/golang-sdk/refer/generic/index.html
+++ b/en/overview/mannual/golang-sdk/refer/generic/index.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en class=no-js><head><meta name=ROBOTS
content="INDEX, FOLLOW"><link rel=alternate hreflang=zh-cn
href=https://cn.dubbo.apache.org/zh-cn/overview/mannual/golang-sdk/refer/generic/><link
rel=canonical
href=https://cn.dubbo.apache.org/en/overview/mannual/golang-sdk/refer/generic/><script>var
_paq=window._paq=window._paq||[];_paq.push(["setDocumentTitle",document.domain+"/"+document.title]),_paq.push(["setCookieDomain","*.dubbo.apache.org"]),_paq.push(["trackPageVi
[...]
+<!doctype html><html lang=en class=no-js><head><meta name=ROBOTS
content="INDEX, FOLLOW"><link rel=alternate hreflang=zh-cn
href=https://cn.dubbo.apache.org/zh-cn/overview/mannual/golang-sdk/refer/generic/><link
rel=canonical
href=https://cn.dubbo.apache.org/en/overview/mannual/golang-sdk/refer/generic/><script>var
_paq=window._paq=window._paq||[];_paq.push(["setDocumentTitle",document.domain+"/"+document.title]),_paq.push(["setCookieDomain","*.dubbo.apache.org"]),_paq.push(["trackPageVi
[...]
<a class=dropdown-item href=/en/overview/notices/>Security Notices</a>
<a class=dropdown-item href=/en/contact/>Contributor's Guide</a></div></li><li
class="nav-item nav-item-line px-2 mb-2 mb-lg-0"><a class=nav-link
href=/en/blog/><span>Blog</span></a></li><li class="nav-item nav-item-line px-2
mb-2 mb-lg-0"><a class=nav-link
href=/en/download/><span>DOWNLOAD</span></a></li><li class="nav-item dropdown
d-lg-block"><a class="nav-link dropdown-toggle" href=# id=navbarDropdown
role=button data-toggle=dropdown aria-haspopup=true
aria-expanded=false>ECOSYSTEM</ [...]
<a class=dropdown-item
href=/zh-cn/overview/mannual/control-plane/>Visualizable Console</a>
@@ -748,11 +748,34 @@
</span></span><span style=display:flex><span> []<span
style=color:#dc322f>string</span>{<span
style=color:#2aa198>"java.lang.String"</span>},
</span></span><span style=display:flex><span> []hessian.Object{<span
style=color:#2aa198>"A003"</span>},
</span></span><span style=display:flex><span> )
-</span></span></code></pre></div><p>The Invoke method of GenericService takes
four parameters:</p><ul><li>context;</li><li>method name: in this example, it
refers to calling the GetUser method;</li><li>parameter types: GetUser method
accepts a string type parameter. If the target method accepts multiple
parameters, you can write it as <code>[]string{"type1", "type2", ...}</code>.
If the method is parameterless, you need to fill in an empty array
<code>[]string{}</code>;</li><li>actual pa [...]
-<button class="btn btn-primary mb-4
feedback--no">No</button></div><script>const
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disable
[...]
+</span></span></code></pre></div><p>The Invoke method of GenericService takes
four parameters:</p><ul><li>context;</li><li>method name: in this example, it
refers to calling the GetUser method;</li><li>parameter types: GetUser method
accepts a string type parameter. If the target method accepts multiple
parameters, you can write it as <code>[]string{"type1", "type2", ...}</code>.
If the method is parameterless, you need to fill in an empty array
<code>[]string{}</code>;</li><li>actual pa [...]
+</span></span><span style=display:flex><span><span
style=color:#268bd2>type</span> User <span style=color:#268bd2>struct</span> {
+</span></span><span style=display:flex><span> ID <span
style=color:#dc322f>string</span>
+</span></span><span style=display:flex><span> Name <span
style=color:#dc322f>string</span>
+</span></span><span style=display:flex><span> Age <span
style=color:#dc322f>int32</span>
+</span></span><span style=display:flex><span>}
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span
style=color:#268bd2>var</span> user User
+</span></span><span style=display:flex><span><span style=color:#586e75>//
Deserialize the result directly into the user struct</span>
+</span></span><span style=display:flex><span>err <span
style=color:#719e07>:=</span> refConf.
+</span></span><span style=display:flex><span> <span
style=color:#268bd2>GetRPCService</span>().(<span
style=color:#719e07>*</span>generic.GenericService).
+</span></span><span style=display:flex><span> <span
style=color:#268bd2>InvokeWithType</span>(
+</span></span><span style=display:flex><span> context.<span
style=color:#268bd2>TODO</span>(),
+</span></span><span style=display:flex><span> <span
style=color:#2aa198>"GetUser"</span>,
+</span></span><span style=display:flex><span> []<span
style=color:#dc322f>string</span>{<span
style=color:#2aa198>"java.lang.String"</span>},
+</span></span><span style=display:flex><span> []hessian.Object{<span
style=color:#2aa198>"A003"</span>},
+</span></span><span style=display:flex><span> <span
style=color:#719e07>&</span>user,
+</span></span><span style=display:flex><span> )
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span
style=color:#719e07>if</span> err <span style=color:#719e07>!=</span> <span
style=color:#cb4b16>nil</span> {
+</span></span><span style=display:flex><span> <span style=color:#586e75>//
Handle error</span>
+</span></span><span style=display:flex><span>}
+</span></span><span style=display:flex><span>fmt.<span
style=color:#268bd2>Println</span>(user.Name)
+</span></span></code></pre></div><p>Note: <code>InvokeWithType</code>
currently only supports the default Map generic invocation.</p><p>Related
reading: <a
href=https://blog.csdn.net/weixin_39860915/article/details/122738548>【Dubbo-go
Service Proxy Model】</a></p><div id=pre-footer><h2>Feedback</h2><p
class=feedback--prompt>Was this page helpful?</p><button class="btn btn-primary
mb-4 feedback--yes">Yes</button>
+<button class="btn btn-primary mb-4
feedback--no">No</button></div><script>const
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disable
[...]
<a
href="https://github.com/apache/dubbo-website/new/master/content/en//overview/mannual/golang-sdk/refer/generic?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+ma
[...]
<a
href="https://github.com/apache/dubbo-website/issues/new?title=Generic%20Invocation"
target=_blank><i class="fab fa-github fa-fw"></i> Create an issue</a>
-<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas
fa-tasks fa-fw"></i> Create project issue</a></div><nav
id=TableOfContents><ul><li><a href=#background>Background</a></li><li><a
href=#principle>Principle</a></li><li><a href=#usage>Usage</a><ul><li><a
href=#based-on-dubbo-url-generic-invocation>Based on Dubbo URL Generic
Invocation</a></li><li><a href=#manual-generic-invocation>Manual Generic
Invocation</a></li></ul></li></ul></nav></div></div></div></div><fo [...]
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas
fa-tasks fa-fw"></i> Create project issue</a></div><nav
id=TableOfContents><ul><li><a href=#background>Background</a></li><li><a
href=#principle>Principle</a></li><li><a href=#usage>Usage</a><ul><li><a
href=#based-on-dubbo-url-generic-invocation>Based on Dubbo URL Generic
Invocation</a></li><li><a href=#manual-generic-invocation>Manual Generic
Invocation</a></li><li><a href=#automatic-deserialization-with-invo [...]
<button class="contact-btn qr-container"
onmouseover='showQRCode("dingding-qr")'
onmouseout='hideQRCode("dingding-qr")'>DINGTALK CHANNEL<div class=qr-code
id=dingding-qr style=display:none><img
src=https://img.alicdn.com/imgextra/i4/O1CN01buuadT274Lj33QZWQ_!!6000000007743-0-tps-1170-1477.jpg
alt="DingTalk QR Code"></div></button>
<button class=contact-btn><a
href=https://github.com/apache/dubbo/>GITHUB</a></button></div></div><div
class=footer-container-right><ul><li>DOCUMENTATION</li><li><a
href=/en/overview/>Overview</a></li><li><a href=/en/overview/quickstart/>Quick
Start</a></li><li><a
href=/en/contact/contributor/software-donation-guide_dev/>Developer
guide</a></li></ul><ul><li>RESOURCES</li><li><a
href=/en/contact/>Community</a></li></ul></div></div><div
style="width:85.125rem;height:0;border:1px solid #ddd [...]
project logo are either registered trademarks or trademarks of The Apache
Software Foundation in the United States
diff --git a/en/sitemap.xml b/en/sitemap.xml
index bc88d1c7d15..af446ffad09 100644
--- a/en/sitemap.xml
+++ b/en/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/en/blog/2023/01/16/alibaba-upgrades-dubbo3-to-fully-replace-hsf2/</loc><lastmod>2024-09-30T17:53:33+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority><xhtml:link
rel="alternate" hreflang="zh-cn"
href="https://cn.dubbo.apache.org/zh-cn/blog/2023/01/16/%E9%98%BF%E9%87%8C%E5%B7
[...]
\ 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/en/blog/2023/01/16/alibaba-upgrades-dubbo3-to-fully-replace-hsf2/</loc><lastmod>2024-09-30T17:53:33+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority><xhtml:link
rel="alternate" hreflang="zh-cn"
href="https://cn.dubbo.apache.org/zh-cn/blog/2023/01/16/%E9%98%BF%E9%87%8C%E5%B7
[...]
\ No newline at end of file
diff --git a/js/app.js b/js/app.js
index aa10cde1b4d..069248774b1 100644
--- a/js/app.js
+++ b/js/app.js
@@ -1,2 +1 @@
-(function(){"use strict";var t={9763:function(t,e,s){var
r=s(2856),l=function(){var t=this,e=t._self._c;return
e("div",{attrs:{id:"app"}},[e("el-row",[e("el-col",{attrs:{span:24}},[e("div",{staticStyle:{"font-size":"30px"}},[t._v("Dubbo
基准测试")])])],1),e("el-row",[e("el-col",{attrs:{span:24}},[e("div",{staticStyle:{"font-size":"15px","text-align":"right"}},[e("a",{attrs:{target:"_blank",href:"https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-
[...]
-//# sourceMappingURL=app.26f08139.js.map
\ No newline at end of file
+// Respond to static link checks, which will be dynamically replaced at build
time
\ No newline at end of file
diff --git a/js/chunk-vendors.js b/js/chunk-vendors.js
index a8bdcb01bb4..069248774b1 100644
--- a/js/chunk-vendors.js
+++ b/js/chunk-vendors.js
@@ -1,60 +1 @@
-(self["webpackChunkdubbo_benchmark"]=self["webpackChunkdubbo_benchmark"]||[]).push([[504],{34:function(e,t,n){"use
strict";var i=n(4901);e.exports=function(e){return"object"==typeof
e?null!==e:i(e)}},81:function(e,t,n){"use strict";var
i=n(9565),r=n(9306),o=n(8551),a=n(6823),s=n(851),l=TypeError;e.exports=function(e,t){var
n=arguments.length<2?s(e):t;if(r(n))return o(i(n,e));throw new l(a(e)+" is not
iterable")}},116:function(e,t,n){"use strict";var
i=n(6518),r=n(9565),o=n(2652),a=n(9306 [...]
-/*!
- * jQuery JavaScript Library v3.7.1
- * https://jquery.com/
- *
- * Copyright OpenJS Foundation and other contributors
- * Released under the MIT license
- * https://jquery.org/license
- *
- * Date: 2023-08-28T13:37Z
- */
-function(t,n){"use strict";"object"===typeof
e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new
Error("jQuery requires a window with a document");return
n(e)}:n(t)}("undefined"!==typeof window?window:this,function(n,o){"use
strict";var a=[],s=Object.getPrototypeOf,l=a.slice,u=a.flat?function(e){return
a.flat.call(e)}:function(e){return
a.concat.apply([],e)},c=a.push,h=a.indexOf,d={},p=d.toString,f=d.hasOwnProperty,g=f.toString,v=g.call(Object),m={},y=function(e){
[...]
-/**
- * Checks if an event is supported in the current execution environment.
- *
- * NOTE: This will not work correctly for non-generic events such as `change`,
- * `reset`, `load`, `error`, and `select`.
- *
- * Borrows from Modernizr.
- *
- * @param {string} eventNameSuffix Event name, e.g. "click".
- * @param {?boolean} capture Check if the capture phase is supported.
- * @return {boolean} True if the event is supported.
- * @internal
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
- */
-function o(e,t){if(!r.canUseDOM||t&&!("addEventListener"in
document))return!1;var n="on"+e,o=n in document;if(!o){var
a=document.createElement("div");a.setAttribute(n,"return;"),o="function"===typeof
a[n]}return!o&&i&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}r.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=o},2059:function(e,t){"use
strict";t.__esModule=!0,t["default"] [...]
-/**
- * @fileOverview Kickass library to create and place poppers near their
reference elements.
- * @version {{version}}
- * @license
- * Copyright (c) 2016 Federico Zivolo and contributors
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to
deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE
- * SOFTWARE.
- */(function(o,a){i=a,r="function"===typeof i?i.call(t,n,t,e):i,void
0===r||(e.exports=r)})(0,function(){var
e=window,t={placement:"bottom",gpuAcceleration:!0,offset:0,boundariesElement:"viewport",boundariesPadding:5,preventOverflowOrder:["left","right","top","bottom"],flipBehavior:"flip",arrowElement:"[x-arrow]",arrowOffset:0,modifiers:["shift","offset","preventOverflow","keepTogether","arrow","flip","applyStyle"],modifiersIgnored:[],forceAbsolute:!1};function
n(e,n,i){this._reference=e [...]
-/**
- * @license
- * Lodash <https://lodash.com/>
- * Copyright JS Foundation and other contributors <https://js.foundation/>
- * Released under MIT license <https://lodash.com/license>
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters &
Editors
- */(function(){var o,a="4.17.10",s=200,l="Unsupported core-js use. Try
https://npms.io/search?q=ponyfill.",u="Expected a
function",c="__lodash_hash_undefined__",h=500,d="__lodash_placeholder__",p=1,f=2,g=4,v=1,m=2,y=1,b=2,_=4,x=8,w=16,S=32,C=64,k=128,M=256,T=512,D=30,I="...",O=800,A=16,E=1,P=2,L=3,N=1/0,R=9007199254740991,$=17976931348623157e292,z=NaN,V=4294967295,F=V-1,B=V>>>1,j=[["ary",k],["bind",y],["bindKey",b],["curry",x],["curryRight",w],["flip",T],["partial",S],["partialRight",C],
[...]
-//# sourceMappingURL=chunk-vendors.f2355b92.js.map
\ No newline at end of file
+// Respond to static link checks, which will be dynamically replaced at build
time
\ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
index 454939d5523..a327c1221f9 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-cn/sitemap.xml</loc><lastmod>2026-01-15T18:35:20+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2026-01-08T20:36:51+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-cn/sitemap.xml</loc><lastmod>2026-01-22T13:59:30+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2026-01-22T13:59:30+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
diff --git a/zh-cn/overview/mannual/golang-sdk/refer/generic/index.html
b/zh-cn/overview/mannual/golang-sdk/refer/generic/index.html
index a14cfad692b..9800d7c6de7 100644
--- a/zh-cn/overview/mannual/golang-sdk/refer/generic/index.html
+++ b/zh-cn/overview/mannual/golang-sdk/refer/generic/index.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=zh-cn class=no-js><head><meta name=ROBOTS
content="INDEX, FOLLOW"><link rel=alternate hreflang=en
href=https://cn.dubbo.apache.org/en/overview/mannual/golang-sdk/refer/generic/><link
rel=canonical
href=https://cn.dubbo.apache.org/zh-cn/overview/mannual/golang-sdk/refer/generic/><script>var
_paq=window._paq=window._paq||[];_paq.push(["setDocumentTitle",document.domain+"/"+document.title]),_paq.push(["setCookieDomain","*.dubbo.apache.org"]),_paq.push(["trackPageVi
[...]
+<!doctype html><html lang=zh-cn class=no-js><head><meta name=ROBOTS
content="INDEX, FOLLOW"><link rel=alternate hreflang=en
href=https://cn.dubbo.apache.org/en/overview/mannual/golang-sdk/refer/generic/><link
rel=canonical
href=https://cn.dubbo.apache.org/zh-cn/overview/mannual/golang-sdk/refer/generic/><script>var
_paq=window._paq=window._paq||[];_paq.push(["setDocumentTitle",document.domain+"/"+document.title]),_paq.push(["setCookieDomain","*.dubbo.apache.org"]),_paq.push(["trackPageVi
[...]
<a class=dropdown-item href=/zh-cn/overview/notices/>安全公告</a>
<a class=dropdown-item href=/zh-cn/contact/>贡献者指南</a></div></li><li
class="nav-item nav-item-line px-2 mb-2 mb-lg-0"><a class=nav-link
href=/zh-cn/blog/><span>博客</span></a></li><li class="nav-item nav-item-line
px-2 mb-2 mb-lg-0"><a class=nav-link
href=/zh-cn/download/><span>下载</span></a></li><li class="nav-item dropdown
d-lg-block"><a class="nav-link dropdown-toggle" href=# id=navbarDropdown
role=button data-toggle=dropdown aria-haspopup=true
aria-expanded=false>生态</a><div class="dropdo [...]
<a class=dropdown-item href=/zh-cn/overview/mannual/control-plane/>可视化控制台</a>
@@ -743,11 +743,34 @@
</span></span><span style=display:flex><span> []<span
style=color:#dc322f>string</span>{<span
style=color:#2aa198>"java.lang.String"</span>},
</span></span><span style=display:flex><span> []hessian.Object{<span
style=color:#2aa198>"A003"</span>},
</span></span><span style=display:flex><span> )
-</span></span></code></pre></div><p>GenericService 的 Invoke
方法接收四个参数,分别是:</p><ul><li>context;</li><li>方法名: 在这个例子中表示调用 GetUser
方法;</li><li>参数类型: GetUser 方法接收一个 string 类型的参数,如果目标方法接收多个参数,可以写为
<code>[]string{"type1", "type2", ...}</code>,如果目前方法是无参的,则需要填入一个空数组
<code>[]string{}</code>;</li><li>实参: 写法同参数类型,如果是无参函数,依然要填入一个空数组
<code>[]hessian.Object{}</code>
占位。</li></ul><p>注意:在目前版本中,无参调用会出现崩溃问题。</p><p>相关阅读:<a
href=https://blog.csdn.net/weixin_39860915/article/details/122738548>【Dubbo-go
服务代理模型】 [...]
-<button class="btn btn-primary mb-4
feedback--no">否</button></div><script>const
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disabled
[...]
+</span></span></code></pre></div><p>GenericService 的 Invoke
方法接收四个参数,分别是:</p><ul><li>context;</li><li>方法名: 在这个例子中表示调用 GetUser
方法;</li><li>参数类型: GetUser 方法接收一个 string 类型的参数,如果目标方法接收多个参数,可以写为
<code>[]string{"type1", "type2", ...}</code>,如果目前方法是无参的,则需要填入一个空数组
<code>[]string{}</code>;</li><li>实参: 写法同参数类型,如果是无参函数,依然要填入一个空数组
<code>[]hessian.Object{}</code> 占位。</li></ul><p>注意:在目前版本中,无参调用会出现崩溃问题。</p><h3
id=泛化调用获取结果自动反序列化>泛化调用获取结果自动反序列化</h3><p>在 <code>Invoke</code> 方法中,返回值
<code>resp</code> 是一个 < [...]
+</span></span><span style=display:flex><span><span
style=color:#268bd2>type</span> User <span style=color:#268bd2>struct</span> {
+</span></span><span style=display:flex><span> ID <span
style=color:#dc322f>string</span>
+</span></span><span style=display:flex><span> Name <span
style=color:#dc322f>string</span>
+</span></span><span style=display:flex><span> Age <span
style=color:#dc322f>int32</span>
+</span></span><span style=display:flex><span>}
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span
style=color:#268bd2>var</span> user User
+</span></span><span style=display:flex><span><span style=color:#586e75>//
直接将结果反序列化到 user 结构体中</span>
+</span></span><span style=display:flex><span>err <span
style=color:#719e07>:=</span> refConf.
+</span></span><span style=display:flex><span> <span
style=color:#268bd2>GetRPCService</span>().(<span
style=color:#719e07>*</span>generic.GenericService).
+</span></span><span style=display:flex><span> <span
style=color:#268bd2>InvokeWithType</span>(
+</span></span><span style=display:flex><span> context.<span
style=color:#268bd2>TODO</span>(),
+</span></span><span style=display:flex><span> <span
style=color:#2aa198>"GetUser"</span>,
+</span></span><span style=display:flex><span> []<span
style=color:#dc322f>string</span>{<span
style=color:#2aa198>"java.lang.String"</span>},
+</span></span><span style=display:flex><span> []hessian.Object{<span
style=color:#2aa198>"A003"</span>},
+</span></span><span style=display:flex><span> <span
style=color:#719e07>&</span>user,
+</span></span><span style=display:flex><span> )
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span
style=color:#719e07>if</span> err <span style=color:#719e07>!=</span> <span
style=color:#cb4b16>nil</span> {
+</span></span><span style=display:flex><span> <span style=color:#586e75>//
处理错误</span>
+</span></span><span style=display:flex><span>}
+</span></span><span style=display:flex><span>fmt.<span
style=color:#268bd2>Println</span>(user.Name)
+</span></span></code></pre></div><p>注意:<code>InvokeWithType</code> 目前仅支持默认的
Map 泛化方式。</p><p>相关阅读:<a
href=https://blog.csdn.net/weixin_39860915/article/details/122738548>【Dubbo-go
服务代理模型】</a></p><div id=pre-footer><h2>反馈</h2><p
class=feedback--prompt>此页是否对您有帮助?</p><button class="btn btn-primary mb-4
feedback--yes">是</button>
+<button class="btn btn-primary mb-4
feedback--no">否</button></div><script>const
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disabled
[...]
<a
href="https://github.com/apache/dubbo-website/new/master/content/zh-cn//overview/mannual/golang-sdk/refer/generic?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
[...]
<a
href="https://github.com/apache/dubbo-website/issues/new?title=%e6%b3%9b%e5%8c%96%e8%b0%83%e7%94%a8"
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><nav id=TableOfContents><ul><li><a
href=#背景>背景</a></li><li><a href=#原理>原理</a></li><li><a href=#使用>使用</a><ul><li><a
href=#基于-dubbo-url-泛化调用>基于 Dubbo URL 泛化调用</a></li><li><a
href=#手动泛化调用>手动泛化调用</a></li></ul></li></ul></nav></div></div></div></div><footer><div
class=footer-container><div class=footer-container-left><div
class=footer-container-left-title>关注我们</div><div class=fo [...]
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas
fa-tasks fa-fw"></i> 提交项目问题</a></div><nav id=TableOfContents><ul><li><a
href=#背景>背景</a></li><li><a href=#原理>原理</a></li><li><a href=#使用>使用</a><ul><li><a
href=#基于-dubbo-url-泛化调用>基于 Dubbo URL 泛化调用</a></li><li><a
href=#手动泛化调用>手动泛化调用</a></li><li><a
href=#泛化调用获取结果自动反序列化>泛化调用获取结果自动反序列化</a></li></ul></li></ul></nav></div></div></div></div><footer><div
class=footer-container><div class=footer-container-left><div class= [...]
<button class="contact-btn qr-container"
onmouseover='showQRCode("dingding-qr")'
onmouseout='hideQRCode("dingding-qr")'>钉钉<div class=qr-code id=dingding-qr
style=display:none><img
src=https://img.alicdn.com/imgextra/i4/O1CN01buuadT274Lj33QZWQ_!!6000000007743-0-tps-1170-1477.jpg
alt="DingTalk QR Code"></div></button>
<button class=contact-btn><a
href=https://github.com/apache/dubbo/>GITHUB</a></button></div></div><div
class=footer-container-right><ul><li>文档</li><li><a
href=/zh-cn/overview/home/>概览</a></li><li><a
href=/zh-cn/overview/quickstart/>快速开始</a></li><li><a
href=/zh-cn/contact/contributor/software-donation-guide_dev/>开发者指南</a></li></ul><ul><li>资源</li><li><a
href=/zh-cn/contact/>社区</a></li></ul></div></div><div
style="width:85.125rem;height:0;border:1px solid
#dddee4;margin-bottom:32px"></div>< [...]
project logo are either registered trademarks or trademarks of The Apache
Software Foundation in the United States
diff --git a/zh-cn/sitemap.xml b/zh-cn/sitemap.xml
index 34d2dcabb9f..4b4aa1a1f4a 100644
--- a/zh-cn/sitemap.xml
+++ b/zh-cn/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-cn/blog/2023/01/16/%E9%98%BF%E9%87%8C%E5%B7%B4%E5%B7%B4%E5%8D%87%E7%BA%A7-dubbo3-%E5%85%A8%E9%9D%A2%E5%8F%96%E4%BB%A3-hsf2/</loc><lastmod>2023-11-28T15:14:12+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority><xhtml:link
rel="alternate" hreflang="en" href="https://cn.dubbo [...]
\ 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-cn/blog/2023/01/16/%E9%98%BF%E9%87%8C%E5%B7%B4%E5%B7%B4%E5%8D%87%E7%BA%A7-dubbo3-%E5%85%A8%E9%9D%A2%E5%8F%96%E4%BB%A3-hsf2/</loc><lastmod>2023-11-28T15:14:12+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority><xhtml:link
rel="alternate" hreflang="en" href="https://cn.dubbo [...]
\ No newline at end of file