From acde2e5b6e6ca7573ba8e3fe558aed5599bdccc0 Mon Sep 17 00:00:00 2001 From: Philipp Heckel Date: Sat, 5 Mar 2022 22:18:03 -0500 Subject: [PATCH] Remove indexPage --- server/server.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server/server.go b/server/server.go index 263c712..74caa26 100644 --- a/server/server.go +++ b/server/server.go @@ -50,11 +50,6 @@ type Server struct { mu sync.Mutex } -type indexPage struct { - Topic string - CacheDuration time.Duration -} - // handleFunc extends the normal http.HandlerFunc to be able to easily return errors type handleFunc func(http.ResponseWriter, *http.Request, *visitor) error