previewfs

package
v0.0.0-...-a7c217f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: AGPL-3.0 Imports: 13 Imported by: 1

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL