feat: 增加rate limit 枚举值

This commit is contained in:
zhangdeman committed 2026-01-02 21:43:57 +08:00
1 parent c3b314cb72
commit 189dc7f57c
1 file changed
+14
+14
View File
@@ -0,0 +1,14 @@
// Package consts ...
//
// Description : consts ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 2026-01-02 21:43
package consts
const (
RateLimitDriverNull = "null"
RateLimitDriverRedis = "redis"
RateLimitDriverMemory = "memory"
)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.