Documentation ¶
Overview ¶
Helper to write EPUB files.
We create a zip with the magic EPUB mimetype.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EPUBZip ¶ added in v2.4.0
type EPUBZip struct {
// contains filtered or unexported fields
}
func (*EPUBZip) WriteContent ¶ added in v2.4.0
Write file. Compressed it using deflate.
func (*EPUBZip) WriteMagic ¶ added in v2.4.0
Write mimetype, in a very specific way. This will be valid with epubcheck tools.
type EPUBZipStorageImageReader ¶ added in v2.4.0
type EPUBZipStorageImageReader struct {
// contains filtered or unexported fields
}
func NewEPUBZipStorageImageReader ¶ added in v2.4.0
func NewEPUBZipStorageImageReader(filename string) (*EPUBZipStorageImageReader, error)
func (*EPUBZipStorageImageReader) Close ¶ added in v2.4.0
func (e *EPUBZipStorageImageReader) Close() error
func (*EPUBZipStorageImageReader) Get ¶ added in v2.4.0
func (e *EPUBZipStorageImageReader) Get(filename string) *zip.File
func (*EPUBZipStorageImageReader) Remove ¶ added in v2.4.0
func (e *EPUBZipStorageImageReader) Remove() error
func (*EPUBZipStorageImageReader) Size ¶ added in v2.4.0
func (e *EPUBZipStorageImageReader) Size(filename string) uint64
type EPUBZipStorageImageWriter ¶ added in v2.4.0
type EPUBZipStorageImageWriter struct {
// contains filtered or unexported fields
}
func NewEPUBZipStorageImageWriter ¶ added in v2.4.0
func NewEPUBZipStorageImageWriter(filename string, format string) (*EPUBZipStorageImageWriter, error)
func (*EPUBZipStorageImageWriter) Close ¶ added in v2.4.0
func (e *EPUBZipStorageImageWriter) Close() error
Click to show internal directories.
Click to hide internal directories.