Switch to gRPC API
See original GitHub issueThe HTTP REST API has too many issues, swap out the library with a .proto
-typed gRPC implementation.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to build a REST API with gRPC and get the best of two ...
Tutorial — gRPC gateway plugin. This tutorial has seven steps: Generate a gRPC service (.proto) from an OpenAPI description. Generate server-side support code ......
Read more >Migrating APIs from REST to gRPC at WePay
How to migrate from REST to gRPC? · Requiring a minimal amount of rework. · Not changing the current build & deployment pipeline....
Read more >gRPC overview | API Gateway Documentation - Google Cloud
API Gateway provides a mechanism for mapping HTTP requests to gRPC methods as part of service configuration. You can find out more about...
Read more >Basics tutorial | Go - gRPC
Generate server and client code using the protocol buffer compiler. Use the Go gRPC API to write a simple client and server for...
Read more >gRPC vs. REST: Getting Started With the Best API Protocol
Representational state transfer (REST) is a means of retrieving or manipulating a service's data. A REST API is generally built on the HTTP...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for dropping in @Roasbeef! I did look at
grpc-web
, but I’m hesitant to use it due to the need for a proxy server. It’s already enough of a pain for users to setup lnd, I’d had to ask them to have to setup Envoy as well. While it could be an optional sort of thing, I’d then be stuck supporting both HTTP and gRPC libs, which sounds like a testing nightmare.I think at the moment, I’m going to keep this on hold until the tech matures a little more. But if you think it’s easier than I’m making it out to be, let me know.
I’ve had the good fortune of being able to talk to Alex this week. While I really like the look of his API, I want to make the onboarding process for the extension as easy as possible, and would hate to ask users to have to setup yet another server on the machine they’re hosting the node on. Going to try to limit myself to what LND (and C-Lightning, in the future) come with out-of-the-box.