Versions in this module Expand all Collapse all v0 v0.6.0 Mar 30, 2026 Changes in this version + type Service struct + func NewService(appCtx *app.Context) *Service + func (s *Service) Cancel(id string) bool + func (s *Service) CancelMany(ids []string) int + func (s *Service) ClearHistory(ctx context.Context) (int64, error) + func (s *Service) DeleteMany(ctx context.Context, ids []string) (int64, error) + func (s *Service) EnqueueByReleaseID(ctx context.Context, releaseID, title string) (*domain.QueueItem, error) + func (s *Service) EnqueueNZB(ctx context.Context, filename string, file io.Reader) (*domain.QueueItem, error) + func (s *Service) EnqueueNZBWithCategory(ctx context.Context, filename, category string, file io.Reader) (*domain.QueueItem, error) + func (s *Service) GetItem(ctx context.Context, id string) (*domain.QueueItem, error) + func (s *Service) GetItemEvents(ctx context.Context, id string) ([]*domain.QueueItemEvent, error) + func (s *Service) GetItemFiles(ctx context.Context, id string) ([]*domain.DownloadFile, error) + func (s *Service) IsPaused() bool + func (s *Service) ListActive() []*domain.QueueItem + func (s *Service) ListHistory(ctx context.Context, status string, limit, offset int) ([]*domain.QueueItem, int, error) + func (s *Service) Pause() bool + func (s *Service) Resume() bool