converter

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: GPL-3.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Get = getConverter

Get returns a packer by name. If the packer is not available, an error is returned.

Functions

func Available

func Available() []constant.ConversionFormat

Available returns a list of available converters.

Types

type Converter

type Converter interface {
	// Format of the converter
	Format() (format constant.ConversionFormat)
	// ConvertChapter converts a manga chapter to the specified format.
	//
	// Returns partial success where some pages are converted and some are not.
	ConvertChapter(chapter *manga.Chapter, quality uint8, split bool, progress func(message string, current uint32, total uint32)) (*manga.Chapter, error)
	PrepareConverter() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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