mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-20 03:20:44 -06:00
12 lines
205 B
Go
12 lines
205 B
Go
package cache
|
|
|
|
import (
|
|
"image"
|
|
)
|
|
|
|
// Cache defines the interface for a thumbnail cache.
|
|
type Cache interface {
|
|
Get(key string) image.Image
|
|
Set(key string, thumbnail image.Image) (image.Image, error)
|
|
}
|