feat: add rate limiting middleware to enhance bot performance

This commit is contained in:
krau
2025-04-20 14:50:06 +08:00
parent 18de349dc3
commit 230c07fd55
3 changed files with 10 additions and 12 deletions

1
go.mod
View File

@@ -17,6 +17,7 @@ require (
github.com/spf13/cobra v1.8.1
github.com/spf13/viper v1.19.0
golang.org/x/net v0.39.0
golang.org/x/time v0.8.0
)
require (