Awesome
English | 中文
tRPC-Go Database Plugin
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.
Database | Description |
---|---|
bigcache | Wraps the open-source local caching database Bigcache |
clickhouse | Wraps the open-source database Clickhouse SDK |
cos | Wraps Tencent Cloud Object Storage COS SDK |
goes | Wraps the open-source official Go ElasticSearch client |
goredis | Wraps the in-memory database Redis SDK |
gorm | Wraps the Golang ORM library GORM |
hbase | Wraps the open-source database HBase SDK |
kafka | Wraps the open-source Kafka message queue SDK Sarama |
mongodb | Wraps the open-source database MongoDB Driver |
mysql | Wraps the open-source database MySQL Driver |
timer | Local/distributed timer functionality |