Test1

by trpc-group

1.2k stars
329 downloads
Not rated
GitHub

About

A pluggable, high-performance RPC framework written in golang

Details

Author
trpc-group
GitHub stars
1,179
Downloads
329
Categories
Other

- Multiple services can start in a single process, listening on multiple addresses.
- All components are pluggable with default implementations and third-party registration.
- All interfaces support mock testing using gomock and mockgen.
- Supports any third-party protocol by implementing the codec interfaces.
- Provides the trpc command-line tool for generating code templates.

Refer to the quick start guide and detailed documentation for instructions on installation, configuration, and invocation.

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][quick start] and [detailed documentation][docs].

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][trpc-cmdline] for generating code templates.

Related Documentation

- [quick start guide][quick start] and [detailed documentation][docs]
- readme documents in each directory
- [trpc command-line tool][trpc-cmdline]
- [helloworld development guide][helloworld]
- [example documentation for various features][features]

Ecosystem

- [codec plugins][go-codec]
- [filter plugins][go-filter]
- [database plugins][go-database]
- [more...][ecosystem]

How to Contribute

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

[Go]: https://golang.org
[go-releases]: https://golang.org/doc/devel/release.html
[tRPC]: https://github.com/trpc-group/trpc
[trpc-cmdline]: https://github.com/trpc-group/trpc-cmdline
[docs]: /docs/README.md
[quick start]: /docs/quick_start.md
[contributing]: CONTRIBUTING.md
[issues]: https://github.com/trpc-group/trpc-go/issues
[go-codec]: https://github.com/trpc-ecosystem/go-codec
[go-filter]: https://github.com/trpc-ecosystem/go-filter
[go-database]: https://github.com/trpc-ecosystem/go-database
[ecosystem]: https://github.com/orgs/trpc-ecosystem/repositories
[helloworld]: /examples/helloworld/
[features]: /examples/features/

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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.