Git Product home page Git Product logo

Comments (6)

sandyskies avatar sandyskies commented on September 17, 2024

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.

yanchunan avatar yanchunan commented on September 17, 2024

我倒是打算改成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.

sandyskies avatar sandyskies commented on September 17, 2024

这个是Golang 内部实现的问题,tars协议 unsigned byte,对应的才是Golang 的byte。 另外,我们测试过和cpp等语言通信是没问题的, 你这个tarsnode指的是tars.nodejs ?

from tarsgo.

yanchunan avatar yanchunan commented on September 17, 2024

是的,指的是tars nodejs版的。不好意思,我发现是我看错了。TarsGO里面vector 和vector 都是SIMPLE_LIST。我再看看TarsNode吧。先关闭问题了。谢谢你的回复!

from tarsgo.

sandyskies avatar sandyskies commented on September 17, 2024

@yanchunan 我们也看下吧,可能是tars.nodejs 没做 simple_list 的兼容,方便的话加我微信,我们聊下,sandyksies

from tarsgo.

sandyskies avatar sandyskies commented on September 17, 2024

0039277 @yanchunan 已解决,请测试

from tarsgo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.