Documentation ¶
Overview ¶
Package database uses SQLite to store game screenshots and CRC as an alternative to the XML file and separate PNG files used by the original C# based utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
Database holds the SQLite database handle and image encoding function
func NewDatabase ¶
NewDatabase opens an existing database or returns a new empty one. An image encoding function should also be provided to encode screenshots for the target device
func (*Database) FindScreenshotByCRC ¶
FindScreenshotByCRC searchs the database for a game matching the CRC and returns the screenshot, year and genre
Click to show internal directories.
Click to hide internal directories.