Documentation ¶
Index ¶
Constants ¶
View Source
const ImageCacheStatusExist = "exist"
View Source
const ImageCacheStatusNone = "none"
View Source
const ImageCacheStatusSkip = "skip"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageCacheEntry ¶
type ImageCacheEntry struct { ItemId string Status ImageCacheStatus Fav string }
type ImageCacheRepo ¶
type ImageCacheRepo struct { Index []*ImageCacheEntry // contains filtered or unexported fields }
func NewRepo ¶
func NewRepo(wf *aw.Workflow) *ImageCacheRepo
func (*ImageCacheRepo) CacheImages ¶
func (r *ImageCacheRepo) CacheImages()
func (*ImageCacheRepo) GetImagePath ¶
func (r *ImageCacheRepo) GetImagePath(id string) string
func (*ImageCacheRepo) SetFavFor ¶
func (r *ImageCacheRepo) SetFavFor(id string, rawJson string)
func (*ImageCacheRepo) StoreIndexFile ¶
func (r *ImageCacheRepo) StoreIndexFile()
type ImageCacheStatus ¶
type ImageCacheStatus string
Click to show internal directories.
Click to hide internal directories.