File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 22* Refactored ` Connection ` interface
33* Removed ` CustomOption ` and taking client with custom options
44* Removed ` proxy ` package
5- * Improved ` db.With() ` helper for create child connections
6- * Setted shared ` conn.Pool ` for all child ` ydb.Connection `
5+ * Improved ` db.With() ` helper for child connections creation
6+ * Set shared ` conn.Pool ` for all children ` ydb.Connection `
77
88## 3.12.1
99* Added ` trace.Driver.OnConnPark ` event
Original file line number Diff line number Diff line change @@ -15,16 +15,20 @@ import (
1515
1616type Pool interface {
1717 PoolGetter
18- TakerReleaser
18+ Taker
19+ Releaser
1920 Pessimizer
2021}
2122
2223type PoolGetter interface {
2324 GetConn (endpoint endpoint.Endpoint ) Conn
2425}
2526
26- type TakerReleaser interface {
27+ type Taker interface {
2728 Take (ctx context.Context ) error
29+ }
30+
31+ type Releaser interface {
2832 Release (ctx context.Context ) error
2933}
3034
You can’t perform that action at this time.
0 commit comments