Golang 数据库解析器和封装器,适用于任何多个数据库连接拓扑结构,例如主从复制数据库、跨区域应用程序以及 s
Golang Database Resolver and Wrapper for any multiple database connections topology, eg. master-slave replication database, cross-region application.
This DBResolver library will split your connections to correct defined DBs. Eg, all read query will routed to ReadOnly replica db, and all write operation(Insert, Update, Delete) will routed to Primary/Master DB.
Read More
| Items | Link |
|---|---|
| Blogpost | blog post |
| Excalidraw | diagram |
| GoSG Meetup Demo | repository |
| GoSG Presentation | deck |
| post |
Click to Expand
Click to Expand
Click to Expand
You can file an Issue. See documentation in Go.Dev
go get -u github.com/bxcodec/dbresolver/v2Click to Expand
…ExecExecContextBegin (transaction will use primary)BeginTx"RETURNING" clauseQueryQueryContextQueryRowQueryRowContextQueryQueryContextQueryRowQueryRowContextTo contrib to this project, you can open a PR or an issue.
暂无开放 Issues,或尚未同步最近议题。