converter

package
v0.0.0-...-d9242b9 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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 Conver the chapter in the given Format
	//  using the convertPage method. It runs the conversion concurrently for each page
	// with a maximum number of goroutines defined by maxGoroutines. The function returns the updated chapter
	// object after the conversion is complete.
	ConvertChapter(chapter *source.Chapter, quality uint8, progress func(string)) (*source.Chapter, error)
}

func Get

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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