-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the relationship between hostie, grpc and puppet. #1947
Comments
I have a picture, I wonder if I can help you. Please @huan verify. |
@dingdayu Only part of your picture is right. Please see my diagram at wechaty/go-wechaty#22 (comment) to see the right structure. To answer questions from @wj-Mcat :
Yes, you are absolutely right. We will never need to care about the puppet protocols in What we need to do is to implement the
Yes, you are right. And as I mentioned in the previous answer, the grpc module for Python we have already published at chatie-grpc
What you have described in your question are mostly not wrong.
You should never care about the What you need to design is the
Not wrong. If we describe it more precisely: the
This is also right. However, we do not need to care about them because they are unrelated to our Python Wechaty. Python Wechaty will use Both the
The above sentence is the only wrong one in all your questions. In TypeScript: In Python: At last, please see my diagram at wechaty/go-wechaty#22 (comment) to see the big picture of the relationship between Thank you for asking the above questions, I hope my answer can help you to make it clear about the Wechaty Architecture Design. Please feel free to let me know if you have more questions, Cheers! |
Hi, @wj-Mcat! I'm Dosu, and I'm helping the wechaty team manage their backlog. I wanted to let you know that we are marking this issue as stale. From what I understand, you were confused about the relationship between hostie, gRPC, and Puppet in Wechaty. You mentioned that there are multiple puppet protocols under the Chatie server, but the Python and Go versions of Wechaty don't need to worry about the details. You also expressed confusion about the difference between Wechaty Puppet and Wechaty Puppet Padplus, and how they are isolated from Chatie gRPC. In the comments, dingdayu shared a picture and huan clarified the structure and relationships between the different components. They provided a diagram and detailed explanations, which resolved the issue. Before we close this issue, could you please confirm if it is still relevant to the latest version of the wechaty repository? If it is, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days. Thank you for your understanding and contribution to the Wechaty community! |
There are many concepts that confuses me when we get deep into wechaty . I will explain my understanding, which I can't sure.
python-wechaty
/go-wechaty
don't need to care about the detail.python-wechaty-puppet
module, which handle the connection between thewechaty
client andchatie-host
server.wechaty-puppet
andwechaty-puppet-padplus
is different, this is where I get most confused. For example,wechaty-puppet
is used inpython-wechaty
, which usegrpc
to connectchatie-grpc
.wechaty-puppet-padplus
implementpadplus
protocol to handle wechat information operation.wechaty-puppet
andwechaty-puppet-padplus
are isolated withchatie-grpc
.The text was updated successfully, but these errors were encountered: