-
Notifications
You must be signed in to change notification settings - Fork 37
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
请问这个组件实现的rpc能和gin的HTTP接口共存吗? #16
Comments
完全可以! |
这个组件主要目的就是为了做grpc,跟gin关联的 |
惭愧,刚从Python转golang开发,没看明白你的文档不清楚怎么用 |
我有个问题,如果之前用gin做的API保留的情况下同时支持rpc,是不是对API接口的每个方法都要用rpc重写一下。后面加接口了两种协议都要各加一个方法呢 |
https://github.com/gmsec/gmsec |
什么意思 能只用这个gorpc实现rpc和http接口共存不,不用gmsec |
可以的,gmsec也是这样做的,请参考:https://github.com/gmsec/goplugins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
就是说我的工程目前是gin写的,现在要在此基础上支持rpc调用,请问用这个可以实现吗?
The text was updated successfully, but these errors were encountered: