From 189dc7f57c1a6631f1343d1ca3667b969a191fc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Fri, 2 Jan 2026 21:43:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0rate=20limit=20?= =?UTF-8?q?=E6=9E=9A=E4=B8=BE=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rate_limit.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 rate_limit.go diff --git a/rate_limit.go b/rate_limit.go new file mode 100644 index 0000000..b3b3dde --- /dev/null +++ b/rate_limit.go @@ -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" +)