-
Notifications
You must be signed in to change notification settings - Fork 93
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
go-wechaty implementation wechaty-puppet-hostie discussion. #22
Comments
Thanks for asking this question, it's very important for us to understand the Wechaty architecture so that we can start designing our Go/Python/Java Wechaty code base. Short answers to your questions:
As we already have a big picture from the whole Wechaty system from wechaty/wechaty#1927 , lets zoom in and have a look on top of our GRPC service with our Go implementation:
1. Go WechatyMap to: TypeScript Wechaty This is what we are doing in this repository. Wechaty will provide all the APIs to the end-user, with underlying support from the puppet abstraction. 2. Go Wechaty Puppet Abstract ClassMap to: TypeScript Wechaty Puppet Abstraction This is the puppet abstraction interface for Wechaty, which will help us to define the protocol between the Wechaty with all the different Puppet providers. In Go/Python/Java, we only need to implement the Note: It will be best if this module can be synced with the TypeScript abstraction automatically because:
We have already known a tool which can sync the data schemas from @suntong at #26 3. Go Wechaty Puppet HostieMap to: TypeScript Wechaty Puppet Hostie Client A module with the name When we are working in Go, we can focus on the client-side because the server-side will be provided from the TypeScript ecosystem, which means we can be supported by all the Protocols from the powerful Wechaty Puppet Providers, like:
4. GRPC ServiceWe already have our Go GRPC module at https://github.com/wechaty/go-grpc today (appreciate for your PR), and it will be automatically updated with the version tag whenever our chatie/grpc repo updated. ConclusionThe Wechaty API should be implemented first, then the Wechaty Puppet Abstraction API second. After we have both Wechaty API and Puppet Abstraction, then we can build our Wechaty Puppett Hostie Client based on them. I hope my explanation will be helpful, please feel free to let me know if you have any questions. |
Thank you for your answer. |
Cross-post from #32 (comment) I believe we should make the import chain rule more clearer: the
|
Question 1: Is wechaty-puppet-hostie acting as a client? Wechaty-puppet- * can be connected via wechaty-puppet-hostie?
The text was updated successfully, but these errors were encountered: