Sagadt
gRPC based micro service POC development
Tools
gRPC
gRPC gateway
buf
Proto generation
buf generate
Resolve dependencies
go mod tidy
Run server
go run server/main.go
Run gateway
go run gateway/main.go -grpc-server-endpoint=localhost:8080
Send request
curl -d '{"value":"hi"}' -H "Content-type: application/json" -X POST http://localhost:8081/v1/example/echo