caches

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL