From 41320e2d40ff854ed1c3810b03dd6363580c3b94 Mon Sep 17 00:00:00 2001 From: jc <46619361+juancwu@users.noreply.github.com> Date: Sun, 15 Dec 2024 18:20:42 -0500 Subject: [PATCH] remove rate limiters from core server interface --- backend/internal/interfaces/types.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/backend/internal/interfaces/types.go b/backend/internal/interfaces/types.go index c5f0f075..7de8fd55 100644 --- a/backend/internal/interfaces/types.go +++ b/backend/internal/interfaces/types.go @@ -5,7 +5,6 @@ import ( "github.com/labstack/echo/v4" "KonferCA/SPUR/db" - "KonferCA/SPUR/internal/middleware" "KonferCA/SPUR/storage" ) @@ -31,7 +30,5 @@ type CoreServer interface { GetDB() *pgxpool.Pool GetQueries() *db.Queries GetStorage() *storage.Storage - GetAuthLimiter() *middleware.RateLimiter - GetAPILimiter() *middleware.RateLimiter GetEcho() *echo.Echo }