handler.go 508 B

12345678910111213141516171819202122
  1. // Copyright 2017 Frédéric Guillot. All rights reserved.
  2. // Use of this source code is governed by the Apache 2.0
  3. // license that can be found in the LICENSE file.
  4. package ui // import "miniflux.app/ui"
  5. import (
  6. "miniflux.app/reader/feed"
  7. "miniflux.app/storage"
  8. "miniflux.app/template"
  9. "miniflux.app/worker"
  10. "github.com/gorilla/mux"
  11. )
  12. type handler struct {
  13. router *mux.Router
  14. store *storage.Storage
  15. tpl *template.Engine
  16. pool *worker.Pool
  17. feedHandler *feed.Handler
  18. }