Documentation
¶
Index ¶
- func BoundRebellionPassword(app fyne.App) binding.String
- func BoundRebellionUsername(app fyne.App) binding.String
- type AppServices
- type Downloader
- func (d *Downloader) DownloadAllIssues(ctx context.Context, sourceDir, username, password string) error
- func (d *Downloader) DownloadIssue(ctx context.Context, issue download.DigitalComic, ...) error
- func (d *Downloader) GetIssuesList(ctx context.Context, username, password string) ([]download.DigitalComic, error)
- type Exporter
- type Prefs
- type Scanner
- type Storage
- func (s *Storage) ReadIssues() []api.Downloadable
- func (s *Storage) ReadKnownTitles() []string
- func (s *Storage) ReadSkipTitles() []string
- func (s *Storage) ReadStories() []api.Story
- func (s *Storage) SaveIssues(progs []api.Downloadable) error
- func (s *Storage) StoreStories(stories []api.Story) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoundRebellionPassword ¶
func BoundRebellionUsername ¶
Types ¶
type AppServices ¶
type AppServices struct { Downloader *Downloader Exporter *Exporter Scanner *Scanner Prefs *Prefs Storage *Storage }
func NewAppServices ¶
func NewAppServices(a fyne.App) *AppServices
type Downloader ¶
type Downloader struct {
// contains filtered or unexported fields
}
func NewDownloader ¶
func NewDownloader(storageRoot string) *Downloader
func (*Downloader) DownloadAllIssues ¶
func (d *Downloader) DownloadAllIssues(ctx context.Context, sourceDir, username, password string) error
func (*Downloader) DownloadIssue ¶
func (d *Downloader) DownloadIssue(ctx context.Context, issue download.DigitalComic, targetDir, username, password string) error
func (*Downloader) GetIssuesList ¶
func (d *Downloader) GetIssuesList(ctx context.Context, username, password string) ([]download.DigitalComic, error)
type Prefs ¶
type Prefs struct { ProgSourceDir binding.String MegazineSourceDir binding.String BoundExportDir binding.String // contains filtered or unexported fields }
func (*Prefs) ExportDirectory ¶
func (*Prefs) MegSourceDirectory ¶
func (*Prefs) ProgSourceDirectory ¶
func (*Prefs) RebellionDetails ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func NewStorage ¶
func (*Storage) ReadIssues ¶
func (s *Storage) ReadIssues() []api.Downloadable
func (*Storage) ReadKnownTitles ¶
func (*Storage) ReadSkipTitles ¶
func (*Storage) ReadStories ¶
func (*Storage) SaveIssues ¶
func (s *Storage) SaveIssues(progs []api.Downloadable) error
Click to show internal directories.
Click to hide internal directories.