Home

Awesome

English | 中文

tRPC-Go Database Plugin

LICENSE

In the daily development process, developers often need to access various storage systems such as MySQL, Redis, Kafka, etc., for database operations. While using open-source SDKs can fulfill the requirements for accessing databases, developers are responsible for handling naming routing, monitoring, and configuration themselves.

Considering that tRPC-Go provides a variety of plugins for naming routing, monitoring, and configuration management, it is possible to wrap open-source SDKs to reuse tRPC-Go's capabilities and reduce redundant code. tRPC-Go offers encapsulation for some open-source SDKs, allowing you to directly leverage tRPC-Go's features for naming routing, monitoring, and more.

DatabaseDescription
bigcacheWraps the open-source local caching database Bigcache
clickhouseWraps the open-source database Clickhouse SDK
cosWraps Tencent Cloud Object Storage COS SDK
goesWraps the open-source official Go ElasticSearch client
goredisWraps the in-memory database Redis SDK
gormWraps the Golang ORM library GORM
hbaseWraps the open-source database HBase SDK
kafkaWraps the open-source Kafka message queue SDK Sarama
mongodbWraps the open-source database MongoDB Driver
mysqlWraps the open-source database MySQL Driver
timerLocal/distributed timer functionality