mahugui / grpc-transcoder

an envoyfiler generator for grpc-transcoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grpc-transcoder

  • support istio1.6+
# https://github.com/AliyunContainerService/hello-servicemesh-grpc
proto_path={path/to/hello-servicemesh-grpc}/proto
# https://github.com/grpc-ecosystem/grpc-gateway/tree/master/third_party/
proto_dep_path={path/to/third_party}
protoc \
    --proto_path=${proto_path} \
    --proto_path=${proto_dep_path} \
    --include_imports \
    --include_source_info \
    --descriptor_set_out=landing.proto-descriptor \
    "${proto_path}"/landing.proto
make build
grpc-transcoder \
--version 1.7 \
--service_port 9996 \
--service_name grpc-server-svc \
--proto_pkg org.feuyeux.grpc \
--proto_svc LandingService \
--descriptor landing.proto-descriptor

About

an envoyfiler generator for grpc-transcoder

License:Apache License 2.0


Languages

Language:Go 94.1%Language:Shell 5.3%Language:Makefile 0.6%