Documentation ¶
Index ¶
- Variables
- func NewAssetRepo(datasource datasource.DataSource[gorm.DB], cache cache.Cache, ...) persistence.AssetRepository
- func NewTradeVarietyRepo(datasource datasource.DataSource[gorm.DB], cache cache.Cache) persistence.TradeVarietyRepository
- func NewVarietyRepo(datasource datasource.DataSource[gorm.DB], cache cache.Cache) persistence.VarietyRepository
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide( datasource.NewDataSource[_gorm.DB], NewAssetRepo, NewVarietyRepo, NewTradeVarietyRepo, order_repo.NewOrderRepo, ), fx.Invoke(autoMigrate), )
Functions ¶
func NewAssetRepo ¶
func NewAssetRepo(datasource datasource.DataSource[gorm.DB], cache cache.Cache, logger *zap.Logger) persistence.AssetRepository
func NewTradeVarietyRepo ¶
func NewTradeVarietyRepo(datasource datasource.DataSource[gorm.DB], cache cache.Cache) persistence.TradeVarietyRepository
func NewVarietyRepo ¶
func NewVarietyRepo(datasource datasource.DataSource[gorm.DB], cache cache.Cache) persistence.VarietyRepository
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.