commit | 0df5a6007e6c83f201722e8ee8efda0361f11bc0 | [log] [tgz] |
---|---|---|
author | dapeng-mi <clark_mdp@163.com> | Tue Dec 01 11:27:19 2020 +0800 |
committer | dapeng-mi <clark_mdp@163.com> | Tue Dec 01 11:27:19 2020 +0800 |
tree | 4abd97a42ef7e2e0f045052997a43bc88c7d5834 | |
parent | 1eeeaf6df5594ccaa55db77f45e677ba4936dc8f [diff] |
Bug fix: decode bytes object to string for subprocess.check_output output. When running test "./tools/run_tests/run_tests.py -l c++ -c dbg" in python3 environment, the following exception is observed. ./tools/run_tests/run_tests.py -l c++ -c dbg PASSED: make [time=114.9sec, retries=0:0] Omitting EPOLLEXCLUSIVE tests 2020-12-01 10:45:40,806 detected port server running version 21 2020-12-01 10:45:40,866 my port server is version 21 Traceback (most recent call last): File "./tools/run_tests/run_tests.py", line 1919, in <module> build_only=args.build_only) File "./tools/run_tests/run_tests.py", line 1800, in _build_and_run one_run = set(spec for language in languages File "./tools/run_tests/run_tests.py", line 1801, in <genexpr> for spec in language.test_specs() File "./tools/run_tests/run_tests.py", line 383, in test_specs for line in tests.split('\n'): TypeError: a bytes-like object is required, not 'str' Signed-off-by: dapeng-mi <clark_mdp@163.com>
gRPC is a modern, open source, high-performance remote procedure call (RPC) framework that can run anywhere. gRPC enables client and server applications to communicate transparently, and simplifies the building of connected systems.
To maximize usability, gRPC supports the standard method for adding dependencies to a user‘s chosen language (if there is one). In most languages, the gRPC runtime comes as a package available in a user’s language package manager.
For instructions on how to use the language-specific gRPC runtime for a project, please refer to these documents
src/cpp
directoryGrpc
grpc
go get google.golang.org/grpc
npm install grpc
gRPC-ProtoRPC
dependency to podspecpecl install grpc
pip install grpcio
gem install grpc
Per-language quickstart guides and tutorials can be found in the documentation section on the grpc.io website. Code examples are available in the examples directory.
Precompiled bleeding-edge package builds of gRPC master
branch's HEAD
are uploaded daily to packages.grpc.io.
Contributions are welcome!
Please read How to contribute which will guide you through the entire workflow of how to build the source code, how to run the tests, and how to contribute changes to the gRPC codebase. The “How to contribute” document also contains info on how the contribution process works and contains best practices for creating contributions.
Sometimes things go wrong. Please check out the Troubleshooting guide if you are experiencing issues with gRPC.
See the Performance dashboard for performance numbers of master branch daily builds.
See gRPC Concepts
This repository contains source code for gRPC libraries implemented in multiple languages written on top of a shared C core library src/core.
Libraries in different languages may be in various states of development. We are seeking contributions for all of these libraries:
Language | Source |
---|---|
Shared C [core library] | src/core |
C++ | src/cpp |
Ruby | src/ruby |
Python | src/python |
PHP | src/php |
C# (core library based) | src/csharp |
Objective-C | src/objective-c |
Language | Source repo |
---|---|
Java | grpc-java |
Kotlin | grpc-kotlin |
Go | grpc-go |
NodeJS | grpc-node |
WebJS | grpc-web |
Dart | grpc-dart |
.NET (pure C# impl.) | grpc-dotnet |