github.com/weaveworks/common@v0.0.0-20230728070032-dd9e68f319d5/httpgrpc/README.md (about)

     1  **What?** Embedding HTTP requests and responses into a gRPC service; a service and client to translate back and forth between the two, so you can use them with your preferred mux.
     2  
     3  **Why?** Get all the goodness of protobuf encoding, HTTP/2, snappy, load balancing, persistent connection and native Kubernetes load balancing with ~none of the effort.
     4  
     5  To rebuild generated protobuf code, run:
     6  
     7      protoc -I ./ --go_out=plugins=grpc:./ ./httpgrpc.proto
     8  
     9  Follow the instructions here to get a working protoc: https://github.com/gogo/protobuf