1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-09-27 19:12:00 +02: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
}
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