Skip to content

trpc-ecosystem/go-database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

48a4003 · Dec 11, 2024

History

32 Commits
May 22, 2024
Oct 24, 2023
Dec 13, 2023
Oct 24, 2023
Nov 29, 2023
Oct 24, 2023
Oct 24, 2023
Oct 24, 2023
Dec 11, 2024
May 20, 2024
May 22, 2024
Oct 24, 2023
Oct 24, 2023
Aug 11, 2023
Aug 11, 2023
Aug 11, 2023
Aug 11, 2023
May 22, 2024
May 22, 2024
May 22, 2024

Repository files navigation

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.

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