grpc-httpjson-transcoding
grpc-httpjson-transcoding is a library that supports transcoding so that HTTP/JSON can be converted to gRPC.
It helps you to provide your APIs in both gRPC and RESTful style at the same time. The code is used in istio proxy and cloud endpoints to provide HTTP+JSON interface to gRPC service.
Develop
Bazel is used for build and dependency management. The following commands build and test sources:
$ bazel build //...
$ bazel test //...
Use the following script to check and fix code format:
$ script/check-style
Toolchain
The Bazel build system defaults to using clang 10 to enable reproducible builds.
Continuous Integration
This repository is integrated with OSS Prow. Prow will run the presubmit script on each Pull Request to verify tests pass. Note:
- PR submission is only allowed if the job passes.
- If you are an outside contributor, Prow may not run until a Googler LGTMs.
Contribution
See CONTRIBUTING.md.
License
grpc-httpjson-transcoding is licensed under the Apache 2.0 license. See LICENSE for more details.