Documentation ¶
Index ¶
- type ImageMetaCache
- func (i *ImageMetaCache) GetImagePath(id string) string
- func (i *ImageMetaCache) GetImagesLenght() int
- func (i *ImageMetaCache) GetRandomImage() string
- func (i *ImageMetaCache) IsImageExist(id string) bool
- func (i *ImageMetaCache) RemoveImage(id string)
- func (i *ImageMetaCache) RotateOne()
- func (i *ImageMetaCache) SetImage(id string, path string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageMetaCache ¶
type ImageMetaCache struct {
// contains filtered or unexported fields
}
func NewImageMetaCache ¶
func NewImageMetaCache(args interfaces.IArgs) *ImageMetaCache
func (*ImageMetaCache) GetImagePath ¶
func (i *ImageMetaCache) GetImagePath(id string) string
func (*ImageMetaCache) GetImagesLenght ¶
func (i *ImageMetaCache) GetImagesLenght() int
func (*ImageMetaCache) GetRandomImage ¶
func (i *ImageMetaCache) GetRandomImage() string
func (*ImageMetaCache) IsImageExist ¶
func (i *ImageMetaCache) IsImageExist(id string) bool
func (*ImageMetaCache) RemoveImage ¶
func (i *ImageMetaCache) RemoveImage(id string)
func (*ImageMetaCache) RotateOne ¶
func (i *ImageMetaCache) RotateOne()
func (*ImageMetaCache) SetImage ¶
func (i *ImageMetaCache) SetImage(id string, path string)
Click to show internal directories.
Click to hide internal directories.