Comments (6)
https://github.com/TarsCloud/TarsGo/blob/master/tars/protocol/res/RequestF.tars#L11 ,tarsgo里面是 7 require vector<unsigned byte> sBuffer, 你是不是手工改成了 require vector<byte> sBuffer ??
from tarsgo.
我倒是打算改成vector<byte>。。。 我提的Issue是TarsGo中的这个值和TarsNode, TarsCpp中定义的不一样 https://github.com/tars-node/rpc/blob/e1ea70acc87d6b93238675476141b7580fc66078/core/rpc-tars/RequestF.tars#L11,
https://github.com/TarsCloud/TarsCpp/blob/717971e1cb77de16c06d01c824efd3a2d3c855db/servant/tup/RequestF.tars#L28 你们内部是不是应该保持一致啊。不然TarsGo就只能自己跟自己玩,没法和Nodejs,C++等语言写的Tars服务交互了。。。
from tarsgo.
这个是Golang 内部实现的问题,tars协议 unsigned byte,对应的才是Golang 的byte。 另外,我们测试过和cpp等语言通信是没问题的, 你这个tarsnode指的是tars.nodejs ?
from tarsgo.
是的,指的是tars nodejs版的。不好意思,我发现是我看错了。TarsGO里面vector 和vector 都是SIMPLE_LIST。我再看看TarsNode吧。先关闭问题了。谢谢你的回复!
from tarsgo.
@yanchunan 我们也看下吧,可能是tars.nodejs 没做 simple_list 的兼容,方便的话加我微信,我们聊下,sandyksies
from tarsgo.
0039277 @yanchunan 已解决,请测试
from tarsgo.
Related Issues (20)
- protoc-gen-go-tarsrpc生成的rpc接口,参数和返回值,为何没有设置为结构的指针? HOT 4
- 客户端暴露一些常用的对外接口 HOT 2
- tarscpp client: version not correct
- Fix code scanning alert - Disabled TLS certificate check
- Support opentelemetry
- Support prometheus reporting indicators HOT 1
- Support polarismesh
- pb2tarsgo工具从pb2tarsgo变成protoc-gen-go-tarsrpc导致service与func名格式变化 HOT 3
- 重启服务存在多个进程问题 HOT 3
- Remove deprecated code
- 设置 GODEBUG=gctrace=1, 但在日志文件中没有看到gc日志 HOT 5
- 关于 gin 的使用 HOT 3
- TarsPython And TarsRust HOT 1
- "Code generated by .*" comment should appear before package clause
- 对于 optional 字段,可以有一个缺省值,缺省值在编码时默认不打包
- make 编译出错 HOT 3
- 这个项目还有在维护吗?examples里的样例大部分都编译不了 HOT 2
- tarsgo是否考虑支持自定义的标签? HOT 1
- How to solve the problem that the frame keeps reporting errors under win10? HOT 1
- windows10 编译出错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tarsgo.