()
| 105 | } |
| 106 | |
| 107 | func DownloadRateLimit() func(c *gin.Context) { |
| 108 | return rateLimitFactory(common.DownloadRateLimitNum, common.DownloadRateLimitDuration, "DW") |
| 109 | } |
| 110 | |
| 111 | func UploadRateLimit() func(c *gin.Context) { |
| 112 | return rateLimitFactory(common.UploadRateLimitNum, common.UploadRateLimitDuration, "UP") |
nothing calls this directly
no test coverage detected