// New returns a new downloader func New(config *configuration.Config, vs *library.Library) *Downloader { return &Downloader{ Base: subapp.NewBase(AppName), config: config, library: vs, } }
// New returns a new organizer func New(config *configuration.Config, vs *library.Library) *Organizer { return &Organizer{ Base: subapp.NewBase(AppName), config: config, library: vs, } }
// New returns a new server func New(config *configuration.Config, vs *library.Library, tm *token.Manager) *Server { return &Server{ Base: subapp.NewBase(AppName), config: config, library: vs, tokenManager: tm, render: render.New(), } }
// New returns a new cleaner func New(config *configuration.Config) *Cleaner { return &Cleaner{ Base: subapp.NewBase(AppName), config: config, } }