(c *gin.Context)
| 10 | ) |
| 11 | |
| 12 | func GetChannelAffinityCacheStats(c *gin.Context) { |
| 13 | stats := service.GetChannelAffinityCacheStats() |
| 14 | c.JSON(http.StatusOK, gin.H{ |
| 15 | "success": true, |
| 16 | "message": "", |
| 17 | "data": stats, |
| 18 | }) |
| 19 | } |
| 20 | |
| 21 | func ClearChannelAffinityCache(c *gin.Context) { |
| 22 | all := strings.TrimSpace(c.Query("all")) |
nothing calls this directly
no test coverage detected