Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface {
GetImage(value string, extension extension.Type) (*entity.Image, error)
LoadImage(value string, extension extension.Type) error
AddImage(value string, image *entity.Image)
}
Cache is the interface to cache images.
func NewMutexDecorator ¶
NewMutexDecorator is responsible to create a mutex decorator to read/write cache.
Click to show internal directories.
Click to hide internal directories.