gorilla/rpc

Stubs and auto-discovery for services map

moraes opened this issue · 3 comments

Via email: "Have you considered making the services field of a Server and the types that make up serverMap public? This would allow me to generate stubs and / or enable discovery a la https://developers.google.com/discovery/ ."

@moraes GLad to see this Issue, as i was thinking exactly the same thing.

Here is my context:
i model all my services in GRPC, and then use GRPC-gateway to gen the REST / JSN code & Swagger. Then i use swagger to code gen my Dart (in my case) client proxy code.

But i need the same thing for JSONRPC2. Take a GRPC, code gen the JSONRPCS2 gateway & the JSONRPC2 client proxy ( that of course calls the gateway).

This might be the best way forward

https://github.com/goadesign/goa/tree/v2

Closing due to inactivity.