Documentation ¶
Index ¶
- func MangadexChapters(mangaID string) (md.ChapterList, error)
- func MangadexCovers(manga *md.Manga, p formats.Progress) (md.ImageList, error)
- func MangadexPages(chapterList md.ChapterList, policy DataSaverPolicy, p formats.Progress) (md.ImageList, error)
- func MangadexSkeleton(mangaID string) (*md.Manga, error)
- type DataSaverPolicy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MangadexChapters ¶
func MangadexChapters(mangaID string) (md.ChapterList, error)
func MangadexCovers ¶
func MangadexPages ¶
func MangadexPages(chapterList md.ChapterList, policy DataSaverPolicy, p formats.Progress) (md.ImageList, error)
Types ¶
type DataSaverPolicy ¶ added in v0.3.0
type DataSaverPolicy int
const ( DataSaverPolicyNo DataSaverPolicy = iota DataSaverPolicyPrefer DataSaverPolicyFallback )
func (*DataSaverPolicy) Set ¶ added in v0.3.0
func (p *DataSaverPolicy) Set(v string) error
Set must have pointer receiver so it doesn't change the value of a copy
func (*DataSaverPolicy) String ¶ added in v0.3.0
func (p *DataSaverPolicy) String() string
func (*DataSaverPolicy) Type ¶ added in v0.3.0
func (p *DataSaverPolicy) Type() string
Type is only used in help text
Click to show internal directories.
Click to hide internal directories.