2017-11-20 00:10:04 -05:00
|
|
|
// Copyright 2017 Frédéric Guillot. All rights reserved.
|
|
|
|
// Use of this source code is governed by the Apache 2.0
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2019-06-01 21:18:09 -04:00
|
|
|
package ui // import "miniflux.app/ui"
|
2017-11-20 00:10:04 -05:00
|
|
|
|
|
|
|
import (
|
2018-08-25 00:51:50 -04:00
|
|
|
"miniflux.app/reader/feed"
|
|
|
|
"miniflux.app/storage"
|
|
|
|
"miniflux.app/template"
|
2018-11-11 18:32:48 -05:00
|
|
|
"miniflux.app/worker"
|
2018-09-03 17:26:40 -04:00
|
|
|
|
|
|
|
"github.com/gorilla/mux"
|
2017-11-20 00:10:04 -05:00
|
|
|
)
|
|
|
|
|
2018-11-11 14:28:29 -05:00
|
|
|
type handler struct {
|
|
|
|
router *mux.Router
|
2017-11-20 00:10:04 -05:00
|
|
|
store *storage.Storage
|
2018-11-11 14:28:29 -05:00
|
|
|
tpl *template.Engine
|
2018-11-11 18:32:48 -05:00
|
|
|
pool *worker.Pool
|
2017-11-20 00:10:04 -05:00
|
|
|
feedHandler *feed.Handler
|
|
|
|
}
|