Documentation ¶
Overview ¶
Package epubzip 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
WriteContent Write file. Compressed it using deflate.
func (*EPUBZip) WriteMagic ¶ added in v2.4.0
WriteMagic Write mimetype, in a very specific way.
This will be valid with epubcheck tools.
type StorageImageReader ¶ added in v2.7.0
type StorageImageReader struct {
// contains filtered or unexported fields
}
func NewStorageImageReader ¶ added in v2.7.0
func NewStorageImageReader(filename string) (*StorageImageReader, error)
func (*StorageImageReader) Close ¶ added in v2.7.0
func (e *StorageImageReader) Close() error
func (*StorageImageReader) Get ¶ added in v2.7.0
func (e *StorageImageReader) Get(filename string) *zip.File
func (*StorageImageReader) Remove ¶ added in v2.7.0
func (e *StorageImageReader) Remove() error
func (*StorageImageReader) Size ¶ added in v2.7.0
func (e *StorageImageReader) Size(filename string) uint64
type StorageImageWriter ¶ added in v2.7.0
type StorageImageWriter struct {
// contains filtered or unexported fields
}
func NewStorageImageWriter ¶ added in v2.7.0
func NewStorageImageWriter(filename string, format string) (*StorageImageWriter, error)
func (*StorageImageWriter) Close ¶ added in v2.7.0
func (e *StorageImageWriter) Close() error
Click to show internal directories.
Click to hide internal directories.