epub

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 12 Imported by: 0

README

epub

Manipulations of an epub file

Documentation

Index

Constants

View Source
const (
	CQbadepub = iota
	CQnocover = iota
	CQcover   = iota
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EPub

type EPub struct {
	Path  string
	Error error
	// contains filtered or unexported fields
}

func New

func New(path string) *EPub

func (*EPub) All

func (epub *EPub) All() (it iter.Seq[*zip.File])

func (*EPub) Close

func (epub *EPub) Close()

func (*EPub) CoverFile

func (epub *EPub) CoverFile() (int, *zip.File, error)

func (*EPub) File

func (epub *EPub) File(file string) (*zip.File, error)

func (*EPub) Images

func (epub *EPub) Images() (it iter.Seq[*zip.File])

func (*EPub) MetaFile

func (epub *EPub) MetaFile() *zip.File

func (*EPub) Pattern

func (epub *EPub) Pattern(pattern string) (it iter.Seq[*zip.File])

func (*EPub) RootFile

func (epub *EPub) RootFile() (root *zip.File)

func (EPub) String

func (epub EPub) String() string

Jump to

Keyboard shortcuts

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