-
Notifications
You must be signed in to change notification settings - Fork 0
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
Browser and gRPC-compatible HTTP APIs #4
Comments
Related to #3 |
Implementing in #5 |
Tool for generating a TypeScript client: connect-web |
UPDATE Leaning above spec is not that practical. Stick to using Go structs and swagger annotations on the route handlers as in #3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Protocol buffer is an alternative to tools like Swagger.
Besides the benefits of using a binary protocol, it's potentially also more efficient to develop. The "spec" / clients are generated from interfaces and structs, no comment annotations, or manually editing JSON spec is required.
connect-go is an alternative lib for "for building browser and gRPC-compatible HTTP APIs. If you're tired of hand-written boilerplate and turned off by massive frameworks, Connect is for you.". It has the following features
The official Google implementation of gRPC has some disadvantages
As per gotime episode gRPC & protocol buffers
The text was updated successfully, but these errors were encountered: