diskcache

package
v0.0.0-...-2b7d969 Latest Latest
Warning

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

Go to latest
Published: May 22, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wrapper

type Wrapper struct {
	// contains filtered or unexported fields
}

func NewDiskCacheWrapper

func NewDiskCacheWrapper(capacity int, diskPath string) (*Wrapper, error)

func (*Wrapper) ClearDiskCache

func (dc *Wrapper) ClearDiskCache() error

func (*Wrapper) Get

func (dc *Wrapper) Get(key string) (image.Image, bool)

func (*Wrapper) Set

func (dc *Wrapper) Set(key string, data image.Image) error

Jump to

Keyboard shortcuts

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