Versions in this module Expand all Collapse all v0 v0.17.3 Aug 11, 2022 v0.17.2 Aug 11, 2022 v0.17.1 Aug 11, 2022 Changes in this version + var DownloadStatuses = []DownloadStatus + func ValidateManga(ctx context.Context, uuid string) (bool, error) + type Chapter struct + ChapterNo string + ID string + Pages int + PublishedAt dbutil.Time + ScanlationGroup string + SeriesID string + Title string + VolumeNo string + func NewChapters(ctx context.Context, id string, since time.Time) ([]Chapter, error) + func (ch *Chapter) Scan(src interface{}) error + func (ch Chapter) CreateDownload(mangaTitle string, createSubscription bool) *Download + func (ch Chapter) Value() (driver.Value, error) + type Download struct + Chapter Chapter + CurrentPage int + MangaTitle string + Status DownloadStatus + Subscribe bool + TimeTaken string + TotalPages int + func (d *Download) Cancel() + func (d *Download) Run(ctx context.Context, libraryPath string) error + func (d Download) String() string + type DownloadStatus string + const DownloadCancelled + const DownloadExists + const DownloadFailed + const DownloadFinished + const DownloadQueued + const DownloadStarted + type Listing struct + CoverURL string + Description string + ID string + SmallCoverURL string + Title string + Year int + func SearchManga(ctx context.Context, title string, limit int) ([]Listing, error) + func ViewManga(ctx context.Context, uuid string) (Listing, error) + func (l Listing) ListChapters(ctx context.Context) ([]Chapter, error) + func (l Listing) NewChapters(ctx context.Context, since time.Time) ([]Chapter, error)