Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Gorm = new(_gorm)
Functions ¶
Types ¶
type Resolver ¶
type Resolver struct{}
func (*Resolver) GetReplicas ¶
GetReplicas 获取从库库的 gorm.Dialector 切片对象 Author [SliverHorn](https://github.com/SliverHorn)
func (*Resolver) GetResolver ¶
GetResolver 通过主库与从库的链接组装 gorm.Plugin Author [SliverHorn](https://github.com/SliverHorn)
func (*Resolver) GetSources ¶
GetSources 获取主库的 gorm.Dialector 切片对象 Author [SliverHorn](https://github.com/SliverHorn)
Click to show internal directories.
Click to hide internal directories.