imgcache

package
v0.0.0-...-3444db6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImgCache

type ImgCache struct {
	// contains filtered or unexported fields
}

func (*ImgCache) AddImage

func (ic *ImgCache) AddImage(img *mdimg.MDImage, todb bool) error

func (*ImgCache) Exit

func (ic *ImgCache) Exit() error

func (*ImgCache) GetImageCnt

func (ic *ImgCache) GetImageCnt() int

func (*ImgCache) GetLatestImage

func (ic *ImgCache) GetLatestImage(img *mdimg.MDImage) error

func (*ImgCache) GetOldImage

func (ic *ImgCache) GetOldImage(d time.Duration, img *mdimg.MDImage) error

func (*ImgCache) LoadConfig

func (ic *ImgCache) LoadConfig(device string) error

func (*ImgCache) SaveImages

func (ic *ImgCache) SaveImages(trigger time.Time, prerecoding, overrun time.Duration, keepallseq bool) error

func (*ImgCache) SetDBSettings

func (ic *ImgCache) SetDBSettings(maxage time.Duration, blocksize int)

func (*ImgCache) SetRAMSettings

func (ic *ImgCache) SetRAMSettings(maxage time.Duration)

Jump to

Keyboard shortcuts

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