GenerateCountCacheKey 生成审核记录数量的缓存键
()
| 173 | |
| 174 | // GenerateCountCacheKey 生成审核记录数量的缓存键 |
| 175 | func (c *checkCache) GenerateCountCacheKey() string { |
| 176 | return "linkme:check:count" |
| 177 | } |
| 178 | |
| 179 | // randomInt 生成 min 到 max 之间的随机整数,用于随机化 TTL |
| 180 | func randomInt(min, max int) int { |
nothing calls this directly
no outgoing calls
no test coverage detected