Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache manages extracted CBZ page images.
func (*Cache) GetPage ¶
func (c *Cache) GetPage(cbzPath string, fileID int, pageNum int) (cachedPath string, mimeType string, err error)
GetPage returns the path to a cached page image, extracting if necessary. pageNum is 0-indexed.
func (*Cache) Invalidate ¶
Invalidate removes all cached pages for a file.
Click to show internal directories.
Click to hide internal directories.