Documentation
¶
Index ¶
- Variables
- func NewBlackIpRepo(data *Data) biz.BlackIpRepo
- func NewBlackUserRepo(data *Data) biz.BlackUserRepo
- func NewCache(conf *conf.Data) *cache.Client
- func NewCouponRepo(data *Data) biz.CouponRepo
- func NewDatabase(conf *conf.Data) *gorm.DB
- func NewLotteryTimesRepo(data *Data) biz.LotteryTimesRepo
- func NewPrizeRepo(data *Data) biz.PrizeRepo
- func NewResultRepo(data *Data) biz.ResultRepo
- func NewTransaction(d *Data) biz.Transaction
- type Data
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewData, NewDatabase, NewCache, NewCouponRepo, NewPrizeRepo, NewResultRepo, NewBlackIpRepo, NewBlackUserRepo, NewLotteryTimesRepo, NewTransaction)
ProviderSet is data providers.
Functions ¶
func NewBlackIpRepo ¶
func NewBlackIpRepo(data *Data) biz.BlackIpRepo
func NewBlackUserRepo ¶
func NewBlackUserRepo(data *Data) biz.BlackUserRepo
func NewCouponRepo ¶
func NewCouponRepo(data *Data) biz.CouponRepo
func NewLotteryTimesRepo ¶
func NewLotteryTimesRepo(data *Data) biz.LotteryTimesRepo
func NewPrizeRepo ¶
func NewResultRepo ¶
func NewResultRepo(data *Data) biz.ResultRepo
func NewTransaction ¶
func NewTransaction(d *Data) biz.Transaction
Types ¶
Click to show internal directories.
Click to hide internal directories.