A message passing platform for Go that lets you:
- Write servers and clients with various encodings, including JSON, Thrift, and Protobuf.
- Expose servers over many transports simultaneously, including HTTP/1.1, gRPC, and TChannel.
- Migrate outbound calls between transports without any code changes using config.
Add dependency to your go.mod
file:
go get go.uber.org/yarpc@latest
Use the following import path in the code:
import "go.uber.org/yarpc"
Please see reference and examples for more details.
This library is v1
and follows SemVer strictly.
No breaking changes will be made to exported APIs before v2.0.0
with the
exception of experimental packages.
Experimental packages reside within packages named x
, and are not stable. This means their
APIs can break at any time. The intention here is to validate these APIs and iterate on them
by working closely with internal customers. Once stable, their contents will be moved out of
the containing x
package and their APIs will be locked.
To start developing with yarpc-go, run the following command to setup your environment:
git clone https://github.com/yarpc/yarpc-go.git go.uber.org/yarpc
To run tests into a pre-configured docker container, run the following command:
make test
To run tests locally, run the following command:
SUPPRESS_DOCKER=1 make test
Happy development!