handler.go 560 B

123456789101112131415161718192021222324
  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/config"
  7. "miniflux.app/reader/feed"
  8. "miniflux.app/storage"
  9. "miniflux.app/template"
  10. "miniflux.app/worker"
  11. "github.com/gorilla/mux"
  12. )
  13. type handler struct {
  14. router *mux.Router
  15. cfg *config.Config
  16. store *storage.Storage
  17. tpl *template.Engine
  18. pool *worker.Pool
  19. feedHandler *feed.Handler
  20. }