aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/handler.go
blob: 2bccf616967e5516994e14b0aab470c4da36fd3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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.

package ui  // import "miniflux.app/ui"

import (
	"miniflux.app/config"
	"miniflux.app/reader/feed"
	"miniflux.app/storage"
	"miniflux.app/template"
	"miniflux.app/worker"

	"github.com/gorilla/mux"
)

type handler struct {
	router      *mux.Router
	cfg         *config.Config
	store       *storage.Storage
	tpl         *template.Engine
	pool        *worker.Pool
	feedHandler *feed.Handler
}