Documentation ¶
Index ¶
- type ImageDB
- func (idb *ImageDB) GetImage(hash string) (image.Image, error)
- func (idb *ImageDB) GetImageData(hash string) ([]byte, error)
- func (idb *ImageDB) ImportScreenshot(fileName string, recordId int, img *image.RGBA) error
- func (idb *ImageDB) ListImages() ([]*model.ImageMetadata, error)
- func (idb *ImageDB) LookupFile(fileName string) (*model.ImageMetadata, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageDB ¶
type ImageDB struct {
// contains filtered or unexported fields
}
func NewImageDB ¶
func (*ImageDB) ImportScreenshot ¶
func (*ImageDB) ListImages ¶
func (idb *ImageDB) ListImages() ([]*model.ImageMetadata, error)
func (*ImageDB) LookupFile ¶
func (idb *ImageDB) LookupFile(fileName string) (*model.ImageMetadata, error)
Click to show internal directories.
Click to hide internal directories.