1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-11-22 19:33:27 +01:00

Remove indexPage

This commit is contained in:
Philipp Heckel 2022-03-05 22:18:03 -05:00
parent 420e35c33c
commit acde2e5b6e

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