cache

package
v0.0.0-...-0bfa455 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image interface {
	Get(url string, filters []imger.Filter) (image.Image, string, error)
	Set(url string, filters []imger.Filter, format string, value image.Image) error
}

Image caches images by the given URL and filters

func NewImage

func NewImage(cache imger.Cache) Image

NewImage creates a new image cache

Jump to

Keyboard shortcuts

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