cache

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2019 License: MIT Imports: 8 Imported by: 2

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 []imgart.Filter) (image.Image, string, error)
	Set(url string, filters []imgart.Filter, format string, value image.Image) error
}

Image caches images by the given URL and filters

func NewImage

func NewImage(cache imgart.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