Remove indexPage

pull/149/head
Philipp Heckel 2022-03-05 22:18:03 -05:00
parent 420e35c33c
commit acde2e5b6e
1 changed files with 0 additions and 5 deletions

View File

@ -50,11 +50,6 @@ type Server struct {
mu sync.Mutex mu sync.Mutex
} }
type indexPage struct {
Topic string
CacheDuration time.Duration
}
// handleFunc extends the normal http.HandlerFunc to be able to easily return errors // handleFunc extends the normal http.HandlerFunc to be able to easily return errors
type handleFunc func(http.ResponseWriter, *http.Request, *visitor) error type handleFunc func(http.ResponseWriter, *http.Request, *visitor) error