inpx

package
v0.0.0-...-80ac902 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadInpxFile

func ReadInpxFile(dataFile string, processor Processor) (err error)

func UnzipBookFile

func UnzipBookFile(dataDir string, book *models.Book, targetFolder string, rename bool) (err error)

func UnzipBookToWriter

func UnzipBookToWriter(dataDir string, book *models.Book, writer io.Writer) (err error)

Types

type Processor

type Processor interface {
	ProcessBook(*models.Book) error
	FinishProcessing()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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