Documentation ¶
Index ¶
- Constants
- func SaveAsCBZ(pages []Page, outFile string) error
- func SaveAsEPUB(theBook *book.Book, pages []Page, outFile string) error
- func SaveAsKEPUB(theBook *book.Book, pages []Page, outFile string) error
- func SaveAsRaw(pages []Page, outDir string) error
- type EpubBook
- type EpubPage
- type EpubPageItem
- type OutputFormat
- type Page
Constants ¶
View Source
const ( RAW = iota CBZ EPUB KEPUB )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EpubPage ¶
type EpubPage struct { Title string BgColor string Width uint Height uint SrcFile string Xhtml EpubPageItem Image EpubPageItem }
type EpubPageItem ¶
type OutputFormat ¶
type OutputFormat int
func (OutputFormat) Ext ¶
func (f OutputFormat) Ext() string
func (*OutputFormat) Set ¶
func (f *OutputFormat) Set(val string) error
func (OutputFormat) String ¶
func (f OutputFormat) String() string
Click to show internal directories.
Click to hide internal directories.