aboutsummaryrefslogtreecommitdiff
path: root/ui/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/handler.go')
-rw-r--r--ui/handler.go24
1 files changed, 24 insertions, 0 deletions
diff --git a/ui/handler.go b/ui/handler.go
new file mode 100644
index 00000000..39fe560a
--- /dev/null
+++ b/ui/handler.go
@@ -0,0 +1,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/scheduler"
+ "miniflux.app/storage"
+ "miniflux.app/template"
+
+ "github.com/gorilla/mux"
+)
+
+type handler struct {
+ router *mux.Router
+ cfg *config.Config
+ store *storage.Storage
+ tpl *template.Engine
+ pool *scheduler.WorkerPool
+ feedHandler *feed.Handler
+}