Remove indexPage
parent
420e35c33c
commit
acde2e5b6e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue