Awesome Go

trpc-go

CategoryDistributed Systems
SubcategoryDistributed Systems
Stars0

The Go language implementation of tRPC, which is a pluggable, high-performance RPC framework

About trpc-go

English | 中文

tRPC-Go Framework

Go Reference Go Report Card LICENSE Releases Docs Tests Coverage

tRPC-Go, is the Go language implementation of tRPC, which is a pluggable, high-performance RPC framework.

For more information, please refer to the quick start guide and detailed documentation.

Overall Architecture

Architecture

tRPC-Go has the following features:

  • Multiple services can be started within a single process, listening on multiple addresses.
  • All components are pluggable, with default implementations for various basic functionalities that can be replaced. Other components can be implemented by third parties and registered within the framework.
  • All interfaces can be mock tested using gomock&mockgen to generate mock code, facilitating testing.
  • The framework supports any third-party protocol by implementing the codec interfaces for the respective protocol. It defaults to supporting trpc and http protocols and can be switched at any time.
  • It provides the trpc command-line tool for generating code templates.

Related Documentation

Ecosystem

How to Contribute

If you're interested in contributing, please take a look at the contribution guidelines and check the unassigned issues in the repository. Claim a task and let's contribute together to tRPC-Go.

Copyright

The copyright notice pertaining to the Tencent code in this repo was previously in the name of “THL A29 Limited.” That entity has now been de-registered. You should treat all previously distributed copies of the code as if the copyright notice was in the name of “Tencent.”

Frequently Asked Questions

What is trpc-go?

trpc-go is a Distributed Systems library for the Go programming language. The Go language implementation of tRPC, which is a pluggable, high-performance RPC framework

How do I install trpc-go?

Install trpc-go with the Go module system using `go get trpc-group/trpc-go`. Check the repository for the current installation instructions.

What category does trpc-go belong to?

trpc-go is listed under Distributed Systems, specifically Distributed Systems.

← Back to Distributed Systems