Documentation
¶
Index ¶
- func AdminLogin(ctx *gin.Context)
- func AdminLoginPage(ctx *gin.Context)
- func Delete(ctx *gin.Context)
- func Index(ctx *gin.Context)
- func Insert(ctx *gin.Context)
- func Login(ctx *gin.Context)
- func LoginPage(ctx *gin.Context)
- func ProductPage(ctx *gin.Context)
- func Register(ctx *gin.Context)
- func RegisterPage(ctx *gin.Context)
- func Search(ctx *gin.Context)
- func SecKill(ctx *gin.Context)
- func SetSecKillProduct(ctx *gin.Context)
- func TransSecKillProduct(ctx *gin.Context, productID uint, timeDuration time.Duration) bool
- func Update(ctx *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TransSecKillProduct ¶
TransSecKillProduct 将mysql中的秒杀商品转移到redis中
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.