瀏覽代碼

Remove indexPage

Philipp Heckel 4 年之前
父節點
當前提交
acde2e5b6e
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      server/server.go

+ 0 - 5
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