4 ms·
I use chi with 'oapi-codegen' to build my endpoints based off my hand rolled openapi spec files. Having dabbled in grpc I wasnt aware of grpc gateway. Do you h
by dansult 3y ago
I use chi with 'oapi-codegen' to build my endpoints based off my hand rolled openapi spec files.
Having dabbled in grpc I wasnt aware of grpc gateway. Do you have an example of your setup? If not, no sweat I can figure it out in time.
Just really intrigued because I love using generators to save time and for documenting. Sqlc being another favourite of mine.
- ecesena 3y agoI don't have any example that's public atm, but the guide in grpc-gateway is pretty clear/can be followed step by step. https://github.com/grpc-ecosystem/grpc-gateway https://github.com/grpc-ecosystem/grpc-gateway To integrate with Fiber, I used the Fiber Adaptor (also pretty straightforward): https://docs.gofiber.io/api/middleware/adaptor https://docs.gofiber.io/api/middleware/adaptor
- dansult 3y agoThanks mate.