Documentation ¶
Index ¶
- func GetSecKillActions(ctx *svc.ServiceContext) ([]models.SecKillAction, error)
- func GetSecKillGoodDetail(ctx *svc.ServiceContext, goodID uint64) (map[string]string, error)
- func GetSecKillGoods(ctx *svc.ServiceContext, actionID ...uint) ([]*seckill.SecKillGoodInfo, error)
- func GetTopFiveActions(actions []models.SecKillAction) []models.SecKillAction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSecKillActions ¶
func GetSecKillActions(ctx *svc.ServiceContext) ([]models.SecKillAction, error)
func GetSecKillGoodDetail ¶
func GetSecKillGoods ¶
func GetSecKillGoods(ctx *svc.ServiceContext, actionID ...uint) ([]*seckill.SecKillGoodInfo, error)
func GetTopFiveActions ¶
func GetTopFiveActions(actions []models.SecKillAction) []models.SecKillAction
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.