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.