trpc-group/trpc-go

A pluggable, high-performance RPC framework written in golang

Go

1,210

208 commits

updated Oct 10, 2026

See the code

README

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.

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.

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.”

trpc-group/trpc-go

A pluggable, high-performance RPC framework written in golang

Go

1,210

208 commits

updated Oct 10, 2026

See the code

README

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.

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.

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.”

Project health

Overall

4.3/10

Maintained

1/10

Code review

10/10
OpenSSF Scorecard

Latest release

v1.1.0 · Jul 28, 2026

Releases this year

2

Significant stargazers

Christian Winther

299 followers · starred Jun 2024

Mingkuan

28 followers · starred Oct 2023

tongjian

16 followers · starred Oct 2023

navy

29 followers · starred Sep 2025