Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { GetIcon(md5sum []byte) (*bytes.Buffer, error) SetIcon(md5sum []byte, buffer *bytes.Buffer) error GetPreview(md5sum []byte) (*bytes.Buffer, error) SetPreview(md5sum []byte, buffer *bytes.Buffer) error }
Cache is a interface for persisting icons & previews of PDF for later reuse.
func SystemCache ¶
func SystemCache() Cache
SystemCache returns the global cache, using the configuration file.
Click to show internal directories.
Click to hide internal directories.