Documentation ¶
Index ¶
- func SlugifyString(input string) string
- type DBNilError
- type Developer
- type Game
- type Genre
- type ImageBlob
- type IndexedRom
- type MGDBClient
- func (mgdb *MGDBClient) FindGameIdFromFilename(filename string) (int, error)
- func (mgdb *MGDBClient) FlushGamesIndex() error
- func (mgdb *MGDBClient) GetGame(gameID int) (Game, error)
- func (mgdb *MGDBClient) GetGameImage(imgHash string) (image.Image, error)
- func (mgdb *MGDBClient) GetGameList() ([]Game, error)
- func (mgdb *MGDBClient) GetIndexedRoms(gameID int) ([]IndexedRom, error)
- func (mgdb *MGDBClient) GetMGDBInfo() (MGDBInfo, error)
- func (mgdb *MGDBClient) IndexGameRom(rom IndexedRom) (bool, error)
- type MGDBInfo
- type Publisher
- type RomCrc
- type SlugRom
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SlugifyString ¶
Types ¶
type DBNilError ¶
type DBNilError struct{}
func (*DBNilError) Error ¶
func (err *DBNilError) Error() string
type IndexedRom ¶
type IndexedRom struct { Path string FileName string FileExt string GameID int SupportedSystemIds string }
func MakeIndexedRomFromPath ¶
func MakeIndexedRomFromPath(path string, gameID int) IndexedRom
type MGDBClient ¶
type MGDBClient struct {
// contains filtered or unexported fields
}
func OpenMGDB ¶
func OpenMGDB(path string) (*MGDBClient, error)
func (*MGDBClient) FindGameIdFromFilename ¶
func (mgdb *MGDBClient) FindGameIdFromFilename(filename string) (int, error)
func (*MGDBClient) FlushGamesIndex ¶
func (mgdb *MGDBClient) FlushGamesIndex() error
func (*MGDBClient) GetGameImage ¶
func (mgdb *MGDBClient) GetGameImage(imgHash string) (image.Image, error)
func (*MGDBClient) GetGameList ¶
func (mgdb *MGDBClient) GetGameList() ([]Game, error)
func (*MGDBClient) GetIndexedRoms ¶
func (mgdb *MGDBClient) GetIndexedRoms(gameID int) ([]IndexedRom, error)
func (*MGDBClient) GetMGDBInfo ¶
func (mgdb *MGDBClient) GetMGDBInfo() (MGDBInfo, error)
func (*MGDBClient) IndexGameRom ¶
func (mgdb *MGDBClient) IndexGameRom(rom IndexedRom) (bool, error)
Click to show internal directories.
Click to hide internal directories.