Remove indexPage
This commit is contained in:
parent
420e35c33c
commit
acde2e5b6e
1 changed files with 0 additions and 5 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue