feat: 增加rate limit 枚举值
This commit is contained in:
14
rate_limit.go
Normal file
14
rate_limit.go
Normal 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