download

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MangadexChapters

func MangadexChapters(mangaID string) (md.ChapterList, error)

func MangadexCovers

func MangadexCovers(manga *md.Manga, p formats.Progress) (md.ImageList, error)

func MangadexPages

func MangadexPages(chapterList md.ChapterList, policy DataSaverPolicy, p formats.Progress) (md.ImageList, error)

func MangadexSkeleton

func MangadexSkeleton(mangaID string) (*md.Manga, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL