From d13933c2e921a0f4c5ea6c8551255cc9ca5a0575 Mon Sep 17 00:00:00 2001 From: Nikhil Thomas Date: Thu, 23 Mar 2023 13:44:53 -0400 Subject: [PATCH] Fix: Minor fix to Proxy pattern Set the `application` type as the interface `server` Signed-off-by: Nikhil Thomas --- proxy/nginx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/nginx.go b/proxy/nginx.go index 14309a8..ba8b120 100644 --- a/proxy/nginx.go +++ b/proxy/nginx.go @@ -1,7 +1,7 @@ package main type Nginx struct { - application *Application + application server maxAllowedRequest int rateLimiter map[string]int }