dubbox
Here are 31 public repositories matching this topic...
-
Updated
Feb 14, 2019 - Java
-
Updated
Sep 14, 2020 - Java
-
Updated
Feb 22, 2020 - Java
-
Updated
May 15, 2017 - Java
-
Updated
Jan 3, 2019 - JavaScript
-
Updated
Oct 6, 2020 - Java
-
Updated
May 25, 2017 - Java
-
Updated
Feb 2, 2019 - JavaScript
-
Updated
Dec 29, 2017 - Java
-
Updated
Dec 13, 2017 - Java
-
Updated
Jan 8, 2018 - Java
Improve this page
Add a description, image, and links to the dubbox topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the dubbox topic, visit your repo's landing page and select "manage topics."


背景
在
service mesh环境下,需要在sidecar中解析dubbo的attachment,并根据需求添加一些自定义的参数进去,就像SetHeader一样,然后重新构建dubbo包问题
如果使用
hessian.NewDecoder,传递的参数没有对象是可以的,如果参数中有对象会报错,参考 #163 的解决办法,使用hessian.NewDecoderWithSkip可以解决,但是重新构建的时候arg类型是interface{},值是nil解决
能否多提供一个
Decode方法,直接返回[]byte内容,重新构建的时候直接encode.Append(arg)就可以重新构建dubbo包