poc of an ratelimit implementation

This commit is contained in:
kirari04
2024-06-10 17:52:16 +02:00
parent fc88dfe72e
commit e3f8c99ed3
4 changed files with 151 additions and 0 deletions

View File

@@ -146,6 +146,10 @@ func ReverseProxtInit() {
SystemWideLogger.Println("Uptime Monitor background service started")
}()
// Init Rate Limit
go func() {
dynamicproxy.InitRateLimit()
}()
}
func ReverseProxyHandleOnOff(w http.ResponseWriter, r *http.Request) {